attachment « Web Service « Java Enterprise Q&A





1. Get attachments from a JAX-WS WebService with a JAX-RPC Client    stackoverflow.com

As we migrate from JAX-RPC to JAX-WS I'm trying to Call a WebService, which uses JAX-W/JAXB. The client itself is still using JAX-RPC. The WSDL File is kept the same. This works ...

2. Download attachments using Exchange Web service JAVA API?    stackoverflow.com

I am writing a JAVA application to download emails using Exchange Web Services. I am using Microsoft's ewsjava api for doing this. I am able to fetch email headers. But, I ...

3. Attaching files to Web Service response in Java    stackoverflow.com

How to attach files to a Web Service response in Java?

4. MIME attachments with Java Web service response    stackoverflow.com

I have a web service with just one method that's reading two pdfs from the local(server's) filesystem and returning them as datahandler array. here is the code: Collapse | Copy Code @WebMethod(operationName = ...

5. Sending attachments to web service    jmeter.512774.n5.nabble.com

Hi all, I have a Java app that consists of small desktop Java applications that upload XML files to a web service (Apache AXIS). The xml documents are attached to the SOAP envelope, before being transmitted. This works ok, but i have begun to investigate load testing using JMeter. I have used the Apache AXIS SoapMonitor tool to intercept the soap ...

6. Sending attachments to Web service    jmeter.512774.n5.nabble.com

Hi all, I have a Java app that consists of small desktop Java applications that upload XML files to a web service (Apache AXIS). The xml documents are attached to the SOAP envelope, before being transmitted. This works ok, but i have begun to investigate load testing using JMeter. I have used the Apache AXIS SoapMonitor tool to intercept the soap ...

7. JAX-RPC and Attachments    coderanch.com

SOAP with Attachments API for Java (SAAJ) is used mainly for the SOAP messaging that goes on behind the scenes in JAX-RPC and JAXR implementations. Secondarily, it is an API that developers can use when they choose to write SOAP messaging applications directly rather than using JAX-RPC. The SAAJ API allows you to do XML messaging from the Java platform: By ...

9. sending attachments from server to client    coderanch.com

hi everyone, I am currently designing a web service on Weblogic 8.1 server using weblogic workshop IDE. My requirement is to attach the backend result (results obtaind from the database) as an attachment to the SOAP message and return it back to the client. I saw a few examples of the javax.activation.DataHandler class and also read about using SAAJ for attaching ...





10. Attachments Problem    coderanch.com

11. Attachment: how to specify the number ?    coderanch.com

12. Specific Attachment Problem...    coderanch.com

I've come so far with this project I can't bear to give up on it now, there's just one little snag that's left in my path and I can't figure my own way around it. If anyone could please help me with examples or point me to some, that would be fantastic! I'm making a web service with the main purpose ...

14. Web Services with attachments    coderanch.com

15. Problem in Attachments    coderanch.com

16. Sending large attachments of more than 4.5 MB from java webservice to a .NET webser    coderanch.com

Hi, Problem: In the existing architecture, our application uses SOAP with MIME to send attachments to a .NET webservice. It is not able to send an attachment of more than 4.5MB successfully to a .NET webservice. I have read somewhere that it would be possible with (SOAP with DIME) to send huge attachments. Could anyone please tell me how to modify ...





17. How to include file name for attachment?    coderanch.com

I have found some info... According to the article "Fear of Attachments" by Steve Loughran (damn good title ) it is possible to send the filename with MIME inside a header, but not so with DIME. The code sample in the article passes the filenames as a separate parameter. I'm not sure but it seems that .NET only supports DIME out ...

18. MIME or DIME for attachments    coderanch.com

19. Problem with methods returning an attachment    coderanch.com

I have posted this question already in the JBossWS forum at jboss.com but haven't got any reply ... ( http://www.jboss.com/index.html?module=bb&op=viewtopic&t=119030 ) Some methods of my web service should return an attachment. I start with a handwritten WSDL file and generate the necessary artifacts and descriptors using JAX-RPC tools. There are no warning or error messages at deploy time. An error occurs ...

20. processing attachments in web service    coderanch.com

21. JAX-RPC Web Service with Attachments    coderanch.com

22. Cross platform Web Services with attachments    coderanch.com

Hello, I need to find a way of developing WS that can handle attachments and also be platform independent(process requests from either .NET or Java client). I've already had a look at SAAJ, but from what I read (and from it's name) it doesn't seem to be platform independent. I also saw MTOM mentioned couple of times. Could someone advice what's ...

23. How to cleanup the attachments    coderanch.com

24. how to open attachments    coderanch.com

Im not sure exactly where this question belongs so I'll just post it here since it's related to the webservices I'm working on. I have a service that when invoked returns the response with a pdf as an attachment. This is all initiated from a jsp page. A user clicks a button which then submits the form and then i have ...

25. Does JAX-WS require that attachments be base64 encoded?    coderanch.com

Hello, I am tasked with writing a web service which uploads and downloads various file types. The files could be very large. I don't want to use base64 encoding for the transport. I can use either JAX-WS or SAAJ. Does JAX-WS require that the data be base64 encoded? Thank you for any help you can give. Ravi

26. Web Service Creation With AttachMent    coderanch.com

28. web service with attachment under java 1.6    coderanch.com

hi all, i'm trying to develop web service with attachment but i have a problem and i don't know where.. so server side: public class WSServer { public void getFile(long starttime, long endtime) { MessageContext msgContext = MessageContext.getCurrentContext(); Message response = msgContext.getResponseMessage(); Vector vfile = new Vector(10); File file1 = new File("c:\\tmp\\file1.doc"); File file2 = new File("c:\\tmp\\file2.pdf"); File file3 = new ...

29. File Attachment with WSDL2Java objects    coderanch.com

Thanks. I'm not asking if this can be done with Axis. I'm asking if it can be done with the objects created from the WSDL2Java program. If I run WSDL2Java on a WSDL file, I will get a group of class files. Can you add an attachment with these classes? How would you add the Attachment part with the {XXX}SoapBindingImpl object? ...

30. Adding attachments to web service response    coderanch.com

In the Axis framework, there is a WSDL2Java program which creates a set of Java objects for deploying a web service. If I run WSDL2Java on a WSDL file, I will get a group of class files. Can a file attachment be added with these classes, i.e. in the {XXX}SoapBindingImpl object? If not, is there anyway to directly add a file ...

31. Receive attachments using axis1.4    coderanch.com

33. Issue with MTOM with Attachments using SwA    coderanch.com

Hi, I am trying to attach a zip file(could actually be any file) along with a MTOM msg. I gather from this link http://axis.apache.org/axis2/java/core/docs/mtom-guide.html#a33 that it could actually be an MTOM msg. In My options i set the following code options.setProperty(Constants.Configuration.ENABLE_SWA,Constants.VALUE_TRUE); options.setProperty(Constants.Configuration.ENABLE_MTOM, Constants.VALUE_TRUE); options.setProperty(Constants.Configuration.MESSAGE_TYPE, "application/xop+xml"); options.setProperty(Constants.Configuration.CONTENT_TYPE, "application/xop+xml"); but I am ending up at an error which says org.apache.axis2.AxisFault: The input stream ...

34. WS-Policy attachment    coderanch.com

Hi all, I am using Eclipse, and I have been trying to write a wsdl file containing 1 functional aspect (news) and attached to 3 non-functional properties (availability, integrity, privacy). Now, these attachments are modeled using WS-Policy platform, and for easing issues, i have been trying to write all three non-functional properties in the same WS-Policy xml file, thus, attaching my ...

35. attachment and web service    forums.oracle.com