send « Web Service « Java Enterprise Q&A





1. How to send a username between web service requests?    stackoverflow.com

Basically the problem is this:
There is a stored database procedure that takes a username as an argument and produces some XML data depending on it. It is called by a ...

2. Java Web Services: sending files using DataHandler class    stackoverflow.com

I'm new to Java Web Services, so I might be doing things wrong. I'm trying to transfer a file using the DataHandler - this is what I've got: Web Service:

import java.net.MalformedURLException;
import java.net.URL;
import javax.activation.DataHandler;
import ...

3. Sending a file over web service from java to .net    stackoverflow.com

I have built .NET 1.1 Web Service which should accept files and save them. Here is the code of the webmethod:

    [WebMethod]
  public bool SaveDocument(Byte[] docbinaryarray, string docname)
 ...

4. How to receive/send files with a java Webservice    stackoverflow.com

So i'm writing a WebService in Java that should receive a file as an input, and then the WebService does some processing on that file, and finally it should send a ...

5. Service for sending SMS and making Voice Calls from Web site and Desktop application    stackoverflow.com

We plan to integrate sending of SMS and making calls to our desktop and web applications. Both are written in Java. As for only sending SMS we know about great gateway ...

6. Sending DateTime from .Net to Java Web Service    stackoverflow.com

I am having some issues with a Java web service i have consumed into my simple outlook add in that i am trying to integrate with this 3rd party API. ...

7. Send an array of complex objects using ksoap2 to .NET web service    stackoverflow.com

I am facing a problem in sending an array of complex object from a J2ME Client using KSOAP to .net web service (Soap services). my TestSoap.java file has a setArr() method ...

8. Send XML file to Web Service using Java    stackoverflow.com

I want to send an XML file to a Web Service. The Web Service is a java application. I know the endpoint of the Web Service. Typically I know I have to create ...

9. What is the best way to send XML data to webservices jaxws    stackoverflow.com

What is the best way to send XML data to web services jax-ws? One of the way I could make out is to convert xml into String from client side and send ...





10. Sending only 1mb of files from folder through web service    stackoverflow.com

My question is that I want to send pdf files through web service with condition that only 1mb of files are taken from that folder containing many files. Please help me to ...

11. Sending email via Exchange WebServices Java API 1.1    stackoverflow.com

Other operations such as creating folders, retrieving information about the existing folders, items seem to work but sending email to a valid email address doesnt work. What could be wrong with ...

12. Calling Java webservice from C# Trying to send long value from C# to Long value in Java (glassfish2)    stackoverflow.com

I'm a c# developer and working on a project where I need to make a call out to a Java webservice that is expecting a Long value as a property on ...

13. Jax-ws web service: Can you send other objects through @MTOM or only DataHandler object    stackoverflow.com

I understand you can send file through using @MTOM like the following:

   public @XmlMimeType("application/octet-stream") DataHandler downloadFile(...){
           ...
   ...

14. Service to send mail from my webapp    stackoverflow.com

I am running a webapp on Apache Tomcat. I want my app to send out an email to the users, for certain actions. I have tried using Java Mail, but I ...

15. Can we send or return char in java webservices using JAX-RS    stackoverflow.com

I am new to webservices. I have some services which accept char as input parameter e.g char langPref etc. When I am trying to expose that service it is throwing an exception. Can we ...

16. Send webservice parameters through java bean to exequte page    bytes.com

what im struggling with is to do with web services i got a register page in client app then register.java + my webservice + dbconnection.java register is obviously the bean ok ...





18. sending a JDom Document to a web service    coderanch.com

Hi all, I've got a JDom Document Object which looks like that: http://www.test.org/routing/demo http://192.162.5.57:8080/axis/services/AxisTestService http://192.162.5.55:8080/axis/services/AxisTestService http://192.162.5.56:8080/axis/services/AxisTestService foo@test.orgh-ere-u2-pu-ta-id-in2 It's not a File! It's an object of type JDOM Document. I just wrote it to a file to see what it ...

19. How to send XML request over TCP/IP to WAS??    coderanch.com

I have an application sitting on a different box which sends encrypted XML requests over TCP/IP using socket progeaming and not over http or SOAP. My application is hosted on Websphere application server on a different box. How do i receive these encrypted XML based requests. Does Websphere supports TCP/IP based listeners? How do i go about this??

20. Sending XML data to webservice    coderanch.com

I have a requirement where in I need to send XML data as one of the argument to a web service. The XML contains some policy details. Since there is no XML data type that I can define, I was wondering if I pass XML as a string but semantics of XML will lost in this case. Will it cause difficulty ...

21. Sending bytecodes    coderanch.com

Help! I tried sending byte codes to server application (deployed as a Web Service) as a method argument which returned SAXParserException. I believe wrapping up the class file into a String object would require Base64 encoding which I am looking into. My question is whether encoding will the right way or I must try sending byte codes as an attachment? Or ...

22. Sending requests in xml    coderanch.com

Hello - I am able to write web service client and server and they are all working fine. What I have heard about web service is that the exchange of information is in xml. What does that mean? How do I send request in xml? Should I send it in the form of a string? How should I do that? My ...

23. Send and Receive Binary Data in XML    coderanch.com

Hi, Does anyone have a sample code or reference links on how to send and read binary data in xml. I mean instead of attachment, you can attach files in binary format in xml using base64 to hexadecimal, I cann't use Saaj or axis so I need to put the attachment in xml. Any links or samples would be appreciated. Thanks, ...

24. calling webservice by sending soap/xml request?    coderanch.com

In axis server I wrote webservice script and deployed it. I wrote client script and able to call the webservice from it. instead writing client java script myself is there any tool to create a script based on WSDL? instead of executing client java script if I want to send soap request xml file then how can I send and call ...

25. zipping msg before sending    coderanch.com

hi all can anyone give me / show links to an example of a webservice that zips a message i need to write a ws will send data to a client, but before the client gets the data i need to zip it as it will be a large dataset. has anyone an example zipping the soap body / message at ...

26. How to send Fax using java    coderanch.com

William is right. You should use an external fax application. This is better because some times the phone you have calling may busy or noanswer. In this situations, you should wait for a time and try again.etc.. If you want to send faxes in a real production system, you should use an external tool. According to me, the best tool is ...

27. Web services sending messages    coderanch.com

Hi, Am new to web services and have been asked to look into them by my company as possible changes to our existing software. I know clients send requests to web services and web services send responses to those requests, but I need to know is it possible for a web service to send messages to direct to clients rather than ...

28. Using HTTP Get for Sending msg to webservice    coderanch.com

Hi All, I am new to Web Services world and i want to know if i have wsdl with me how can i send me message using "HTTP Get" because thats a kind of requirement .So can some one tell me how to send messages using Http Get. Thanks and appreciate your help in advance. Rajeev

29. sending back XML from the service provider    coderanch.com

I have a web service called "CMR" that does a lookup (db2) and returns an object called CMRAll to the service requester. This object just contains all the fields pulled in the query. This works well and the service requester can access any of the fields in the CMRAll object as it needs to. So far so good. Now, however, I'm ...

30. sending binary files to web service    coderanch.com

Hi, I want to send binary files to web service as soap with attachments. Sending soap with attachments is ok, but how do we define the signature of web service? and how to access the attachment in the web service. My requirement was.. i need to send some data along with binary file(as attachment) to my web service: means my web ...

32. Can anyone send me the tutorial    coderanch.com

34. Time zome problem, while sending Date through WebServices    coderanch.com

Hi Paul, The issue is with timezone only. Even if I specify (or not specify) timezone, the date is going as a date in the local time zone where the WebService client is running and is received in the local time zone where the WebService is runnig. I want to avoid the timezone thing, as this is affecting the date which ...

35. Need to intercept web services request and send it to multiple web services server    coderanch.com

Hi guys, I need to intercept web services client request (RAW HTTP), modify the SOAPAction header to "" and send the request to 5 web services endpoint on different servers, and return back the result only if both return HTTP 200. What would be the best way to do it? Just use plain socket?

36. sending large files through webservice    coderanch.com

what is the best way to send a large files of size around 200 mb from client to a webservice. sending files from client through webservice to server. i had written a webservice for this but it gives out of memory exception for files of size around 15mb. is soap attachments a good solution for this? can anyone please provide some ...

37. Sending a Complex element through the Header.    coderanch.com

Hi Guys, I'm new to web services. I have generated the necessary code from a WSDL file using Axes2 1.4 and Eclipse. Now my header has a complex element with 6 child elements. The generated code has created a POJO for this complex elements with six instance variables and setters and getters. I can't seem to figure out how to send ...

41. SOAPExceptionImpl: Message send failed    coderanch.com

Hello, Am caught up with an error and i can't get past it, need some help here. My application is a batch processing web service client, reads some input rows, sends web service requets, processes the responses and logs it. The application runs well in normal mode, but under load(more thread count), I get this wierd error and I can't make ...

42. sending array of bytes through webservice    coderanch.com

Hi, I need to send a byte array (i.e. byte[]) secret key from client to webservice to be used for encryption in both parties. First I tried to build a method in webservice that accepts a byte [] and retrun byte [] as well but when I initiate the call from client I get this exception at client side: javax.xml.rpc.JAXRPCException: Simple ...

43. Send Image to web service    coderanch.com

44. Send XML code to a Web Service    coderanch.com

Hi! If you are doing WSDL-first development, you should consider using the XML schema type anyType for the parameter. If you are doing Java-first development, then take a look at the API documentation for @XmlAnyElement for examples on how to pass XML data to a method in the web service endpoint implementation class. I suspect that, in this case, it may ...

45. Sending sms    coderanch.com

46. sending files via web service    coderanch.com

Sending bulk data with SOAP should be done using SAAJ - the SOAP with Attachments API for Java. It is certainly bad practice to send bulk data as part of a SOAP message body since that involves much extra encoding and parsing. Sending bulk data to a RESTful service is entirely reasonable until you get to really huge files taking a ...

47. need to send the message by SMS and has to be received by web .    coderanch.com

I am trying to develop my web site , I need to implement a feature similar to Mobile facebook , wherein a user can send the message by his mobile through SMS and the same data is reflected on the web site . In other words how could the messages be sent by SMS and the same is received and shown ...

48. how to send data to webservices?    coderanch.com

49. Sending only 1mb of files from folder through web service.    coderanch.com

Hello All, My question is that I want to send pdf files through web service with condition that only 1mb of files are taken from that folder containing many files. Please help me to resolve this question.I am new to web service. Ask me again if it not clear. Thanks In Advance.

50. problem to send file    coderanch.com

hi i created a web service and a client application for it web service receive a file web service method parameter is an object who have a string and a file (DataHandler) string ainsi qu'un fichier (DataHandler) that work fine for a little file like 1 meg..... bug around 3, 4 meg.... that crash tomcat return com.sun.xml.ws.transport.http.servlet.WSServletDelegate doGet GRAVE: caught throwable ...

51. Can't send StringEntity to RESTlet resource    coderanch.com

This is last chance saloon for me, spent days trying to get to the bottom of this here is the problem. If I include anything other than a "" blank string ( eg entity = new StringRequestEntity("abc", "text/plain", "UTF-8"); )in the entity then the request fails with the error message "Unsupported Media Type" I have tried multiple different content types but ...

52. Mail is not get send if i call web service, if i don't call web service mail is getting send    coderanch.com

Hi William , the web service is called before sending mail. could you please tell me that what do you want to know about toolkit? as the services are made in dot net framework and we are using client to call those services.Its works when we are not adding any services. so can you help us to resolve this issue asap. ...

53. Sending XML data in JAXWS Response    coderanch.com

Hi I am using IBM JAX WS 2 on my WAS server and exposing a service. The purpose of this service is to send some data to the consumer, which I already have in my database in form of an XML. I just need to put this xml in the response and send it. I want to avoid the JAXB Marshaling ...

54. Sending big file using web service    coderanch.com

I have to send a big base64 file to a vendor. I use the wsdl2java tool to convert vendor's WSDL to Java stub classes and call a web service method to upload the file. The file content is inserted into the SOAP message as a member of a complex type. When the file is big, 10MB or so, I run out ...

55. Sending the header info in web service Operations - JAX-WS    coderanch.com

Hi, We have been provided with the WSDL file and we need to consume the web service call. We are trying for the top-down approach. We are using IBM 8.0 - JAX-WS 2.1 - JDK 1.6 and we are trying to generate the client using the WSDL from RAD ("Generate Client" option). It has generated a pile of files based on ...

56. what kind of web service to use to send XML    coderanch.com

Hello, I am totally new to web services, we have a high transaction system and we put all the XML format transactions on a publish queue so that the external system can use it if they want. We have a client whose system is totally based on Microsft technology they can not access our pubish queue so it has been decided ...

57. Need a webservice for sending SMS    coderanch.com

58. sending a xml file with get    coderanch.com

Can a get request to a web service be created to consume a XML file like a post does. I have created a service that accepts a XML file okay if done using post but as the request is not being used to update or create items on the server, but rather only to get data for multiple items being requested, ...

59. Urgent-how to get xml message before sending in webservice    java-forums.org

I have a wsdl, so I use this wsdl file to generate both Client and server (using axis 2). Both server and client are web application. Then I can send a SOAP request from client to server. SOAP request will be in xml format, right? Now, I'd like to catch this SOAP message before it will be sent to Server so ...

60. send file as parametr to web service    forums.oracle.com

Another way to send the file across a webservice is to convert the file into a bytestream. In your WSDL, instead of a single method, have 2 methods, one which sends the file name and other which sends the bytestream. On the receiving end construct the file with the name and bytestream. This way u can bypass using SOAP Attachment.

61. Sending XML Message to a web service    forums.oracle.com