Re: MTOM - sending byte array?

2009-05-14 Thread Sudhir Mongia
Hi Seems, If you are expecting a big xml file, it makes sense to define it a byte array and send it as MTOM attachment. Sudhir On Fri, May 15, 2009 at 5:30 AM, Seem wrote: > > Hi Andreas, > > it is a calculated result i will get from the jena framework for handling > RDF models inside my servic

jax-ws service problem

2009-05-14 Thread Alexandr Kormushin
Hi! A have following JAX-WS service: @WebService(endpointInterface = "demo.hw.server.HelloWorld", serviceName = "HelloWorld") public class HelloWorldImpl implements HelloWorld {     public List getBean(String smth) {         return Arrays.asList(new MyBean[] { new MyBean() });     } } @XmlType(n

RE: AW: Receiving swa attachments

2009-05-14 Thread Martin Gainty
frist heard of DIME in 02 but havent seen any implementation since that 02 thanks for the code matthias! Vielen Danke, Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nich

Re: MTOM - sending byte array?

2009-05-14 Thread Seem
Hi Andreas, it is a calculated result i will get from the jena framework for handling RDF models inside my service. So do you think it would be the better way to build an xml file out of the byte array and send it afterwards to the client? But for sending this xml, i also have to use MTOM, righ

Re: AW: Receiving swa attachments

2009-05-14 Thread Andreas Veithen
Matthias, I'm pretty sure DIME is not supported by Axiom. Andreas On Thu, May 14, 2009 at 17:16, wrote: > Hi Martin, > > > > I have now this code which works fine for me for receiving SwA attachments. > Feel free to include this code into the mtom-user-guide (which should maybe > named attachm

Re: Synapse and axis2

2009-05-14 Thread Andreas Veithen
This is still not very clear. Maybe you can post a diagram of the architecture? Also, what is a DMS server? Andreas On Thu, May 14, 2009 at 10:02, Rajneesh Kumar wrote: > > Hi Andreas, > > Thanx for ur respone... > > Actually in my case there would be several clients written in different > langu

Re: MTOM - sending byte array?

2009-05-14 Thread Andreas Veithen
Seem, If it is XML, why do you want to send it as a byte array and not insert it as XML into the SOAP message? Andreas On Fri, May 15, 2009 at 00:04, Seem wrote: > > Hello, > > I am a total newbie to AXIS and I am not really sure, if I understand the > Attachement possibilities of SOAP right. >

MTOM - sending byte array?

2009-05-14 Thread Seem
Hello, I am a total newbie to AXIS and I am not really sure, if I understand the Attachement possibilities of SOAP right. My Problem: I have a byte array containing a RDF/XML serialized RDF graph, which i want to send to the client. Is this possible or do i have to convert it in another format?

Re: Attachments are incomplete

2009-05-14 Thread Andreas Veithen
Martin, What version of Axis2 and Axiom do you use? Andreas On Thu, May 14, 2009 at 16:53, wrote: > Hi group, > > > > I am receiving attachments via MTOM and SwA. I could watch via tcpmon that > the complete files were being transferred. But when I saved the files on the > receiver side, in th

Re: [AXIS2] Accessing classes inside aar from a jar located in the lib directory

2009-05-14 Thread Andreas Veithen
Laurent, By design, there is a distinct class loader for each AAR. This is important to isolate services from each other. The classes in the JARs in WEB-INF/lib are loaded by the Web app class loader, which is the parent of the AAR class loaders. It is therefore normal that a class in WEB-INF/lib

[AXIS2] Accessing classes inside aar from a jar located in the lib directory

2009-05-14 Thread Laurent Even
Hi all, I have some classes in a jar which is located in the WEB-INF/lib directory of my application. I deployed several services in this application. So far so good but (always a but ;) ) I'm doing a classforname from my jar fil (WEB-INF/lib) that try to instantiate a class inside a servi

AW: AW: Receiving swa attachments

2009-05-14 Thread Matthias.Gaiser
Hi Martin, I have now this code which works fine for me for receiving SwA attachments. Feel free to include this code into the mtom-user-guide (which should maybe named attachment-user-guide). List attList = new ArrayList(); MessageContext mctx = MessageContext.getCurrentMessageContext();

Attachments are incomplete

2009-05-14 Thread Matthias.Gaiser
Hi group, I am receiving attachments via MTOM and SwA. I could watch via tcpmon that the complete files were being transferred. But when I saved the files on the receiver side, in the middle of the file data was lost. I tested this also without tcpmon because I know that tcpmon does something w

Re: [ConfigurationContext:existing source]

2009-05-14 Thread Deepal jayasinghe
Have a look at following link http://wso2.org/library/106 Once you have the messagecontext, you can access the configurationcontext Deepal > > Hi All, > > > > *I need to access ConfigurationContext object in my java class of > existing source. Because I have set some data in that.* > > > > *I

RE: AW: Receiving swa attachments

2009-05-14 Thread Martin Gainty
Matthias i would suggest editting mtom-user-guide to demonstrate actual usage for axis2-1.4.1 specifically public class SwA { private OperationContext operationContext; public SwA() { } public void setOperationContext(OperationContext oc) throws AxisFault { operationCont

Certificated expired problem...

2009-05-14 Thread m4rkuz
Hi Everyone, I'm using an axis2 client to consume a webservice, but this webservice aparently does not care if the certificated has expired, and just behaves normally and even send me a response, but my client is refusing the soap messages because it says the certificated has expired, I cannot mod

Error while setting the endpoint... How to do it right?

2009-05-14 Thread Yves Glodt
Hello, in my axis1-based web-service client I am unable to set the endpoint. The endpoint is right now hardcoded in MyWsserviceLocator.java, as private java.lang.String IGestionPort_address = "http://myserver/myws/myws.dll/soap/MyWs";; There is a method MyWsProxy.setEndpoint(String endpoint), w

[Fwd: upgrading handler from axis1 to axis2-1.4.1]

2009-05-14 Thread maalej
--- Begin Message --- Hello every body Does anyone have any experience with upgrading Apache Axis 1 web service to Axis2? i am currently running Axis1 and would like to upgrade to Axis2. Notably, does anyone have any ideas on how to migrate axis1 code handler to axis2. Any tips or thoug

Default namespace prefix for ns:return and soap:address location in wsdl

2009-05-14 Thread Nico Hoffmann
Hello, I have developed a webservice based on a pojo using axis2. I wonder how and if I can change the namespace prefix of ns:return in the SOAP-request to another prefix I declared. So how can I change the preifx from ns (ns:return) to something else (sc:return). Is this possible via services.xm

Monitor download/upload progress when transferring big files

2009-05-14 Thread Julien HENRY
Hi all, Some WS methods I use are transferring big files. My client application is a Swing app and I would like to display a progress bar with possibly an estimated time left for the download and give the user the possibility to cancel the download/upload. Do you know how I can do that? Is th

[ConfigurationContext:existing source]

2009-05-14 Thread Vaibhav Arya
Hi All, I need to access ConfigurationContext object in my java class of existing source. Because I have set some data in that. Is it possible? Kindly send code snippet for how to access Contexts it in my project. Thanks in advance, Vaibhav Kumar Arya =

RE: Synapse and axis2

2009-05-14 Thread Rajneesh Kumar
Hi Andreas, Thanx for ur respone... Actually in my case there would be several clients written in different languages running on defferent OS/plateforms. They ware thick clients, existing legacy systems, web apps etc. Each client will have to access/use our existing DMS server. The result of don

AW: Receiving swa attachments

2009-05-14 Thread Matthias.Gaiser
Hi Chinmoy, thanks for your answer. It gave me a hint into the right direction. Now it is working. Yes, I did enable the SwA property, but it is only necessary to enable it on the client side, not on the server side as other tutorials mention as well. My problem was that I tried to get the