Rampart/C: different policies for inflow and outflow
Hi all, I need to write an Axis2/c / Rampart/C secure web service client to connect to a Jax/WS webservice provided by our customer. All service operations expect and return signed WSSE-headers. One single operation must be called with encrypted SOAP-body but returns a non-encrypted response. According to the configured policy, my client correctly send a body-encrypted request, and generates a client side SOAP Fault when receiving the response: FailedCheck/Body need to be encrypted. My questions are: (1) Is there a way to configure different client-side policies for inflow and outflow? If so, could you give me a hint what I am missing? (2) If it's not possible, will this be a feature for one of the next releases? (forced to ask this ;-) Sorry, if I missed an appropriate entry in the archive. Thanks in advance, Dirk
Re: Rampart/C: different policies for inflow and outflow
Hi Dirk, My questions are: (1) Is there a way to configure different client-side policies for inflow and outflow? If so, could you give me a hint what I am missing? With current implementation, it is not possible. There is a jira for this[1]. Regards, Shankar [1] http://issues.apache.org/jira/browse/AXIS2C-619 -- S.Uthaiyashankar Software Architect WSO2 Inc. http://wso2.com/ - The Open Source SOA Company
[Axis2] Mapping qname not fond for the package
I have something very simple I am trying to do and am getting this error and feel that its something obvious I am over looking. Here is what I have: I have a class: Foo(), which is my webservice class and is deployed into a Axis2 using Java2WSDL and a class FooBean(), which is created within the Foo class. FooBean() is your typical bean class that has members, getters and setters. I have a method in the Foo() class: public FooBean getFooBean() Which returns a FooBean object. The WSDL that is generated looks correct and it acknowledges the Bean class and even creates appropriate XML that matches the data members of the bean class. However, when I a make a SOAP call to the webservice Foo and invoke the getFooBean() method, instead of getting XML response that contains the Bean contents, I get the error: org.apache.axis2.AxisFault: Mapping qname not fond for the package. Any pointers? Thanks __ Marc Lefebvre, Principle Software Engineer Akimeka, 1305 N. Holopono Street, Kihei, HI 96753 Phone: (808)442-7168, Email: mlefeb...@akimeka.com echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq' | dc winmail.dat
[Axis2] RuntimeException on timestamp = when timestamp minOccurs=0,
Hi All, I am running my client on java 1.4 with axis2 1.4.1 I am able to send the server message. However, axis2 seems like cannot construct the response from the soap message the server replied. Following exception occurred when the client tried to construct the response from the soap message. It was caused the by axis2 cannot set the timestamp of the message. When I look at the the soap xml. The Timestamp is ns4:TimeStamp/ns4:TimeStamp and when i check the schema of the response message. xsd:element name=TimeStamp type=smscmn:TimeStampType maxOccurs=1 minOccurs=0/ Its minOccurs=0 is correct. So, is axis2 cannot handle timestamp having minOccurs=0 ? or Did I do something wrong? thanks, Chun Tung org.apache.axis2.AxisFault at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) at .sdp.ws.sms.wsdl.send.SmsSendServiceStub.fromOM(SmsSendServiceStub.java:12211) at .sdp.ws.sms.wsdl.send.SmsSendServiceStub.SendSms(SmsSendServiceStub.java:209) at testM1wb.main(testM1wb.java:85) Caused by: java.lang.RuntimeException at .sdp.ws.sms.wsdl.send.SmsSendServiceStub$TimeStampType.setTimeStampType(SmsSendServiceStub.java:7957) at .sdp.ws.sms.wsdl.send.SmsSendServiceStub$TimeStampType$Factory.parse(SmsSendServiceStub.java:8311) at .sdp.ws.sms.wsdl.send.SmsSendServiceStub$DestinationResponseType$Factory.parse(SmsSendServiceStub.java:11050) at .sdp.ws.sms.wsdl.send.SmsSendServiceStub$DestinationResponseListType$Factory.parse(SmsSendServiceStub.java:5132) at .sdp.ws.sms.wsdl.send.SmsSendServiceStub$SendSmsResponseType$Factory.parse(SmsSendServiceStub.java:5925) at .sdp.ws.sms.wsdl.send.SmsSendServiceStub$SendSmsResponseElement$Factory.parse(SmsSendServiceStub.java:7532) at .sdp.ws.sms.wsdl.send.SmsSendServiceStub.fromOM(SmsSendServiceStub.java:12191) ... 2 more Exception in thread main Here is the soap response soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Body ns4:SendSmsResponseElement xmlns=http:///sdp/ws/sms/wsdl/acm; xmlns:ns2=http:///sdp/ws/sms/wsdl/header; xmlns:ns3=http:///sdp/ws/sms/wsdl/application; xmlns:ns4=http:///sdp/ws/sms/wsdl/send; xmlns:ns5=http:///sdp/ws/sms/wsdl/common; xmlns:ns6=http:///sdp/ws/sms/wsdl/error; ns4:MessageId109050614180004/ns4:MessageId ns4:StatusCode4001/ns4:StatusCode ns4:StatusDetailSystem./ns4:StatusDetail ns4:DestinationResponsesns4:destinationResponse ns4:Destination/ns4:Destination ns4:TimeStamp/ns4:TimeStamp ns4:MessageId/ns4:MessageId ns4:StatusCode/ns4:StatusCode ns4:StatusDetail/ns4:StatusDetail /ns4:destinationResponse/ns4:DestinationResponses /ns4:SendSmsResponseElement /soap:Body /soap:Envelope XSD ?xml version=1.0 encoding=UTF-8? xsd:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:smscmn=http:///sdp/ws/sms/wsdl/common; xmlns:app=http:///sdp/ws/sms/wsdl/application; xmlns:tns=http:///sdp/ws/sms/wsdl/deliver; targetNamespace=http:///sdp/ws/sms/wsdl/deliver; elementFormDefault=qualified xsd:import namespace=http:///sdp/ws/sms/wsdl/application; schemaLocation=Application-Definitions.xsd / xsd:import namespace=http:///sdp/ws/sms/wsdl/common; schemaLocation=SMS-Common-Definitions.xsd/ xsd:complexType name=SegmentListType xsd:sequence xsd:element maxOccurs=unbounded minOccurs=1 name=segment type=smscmn:SegmentType/ /xsd:sequence /xsd:complexType xsd:complexType name=DeliverSmsRequestType xsd:sequence xsd:element name=Destination type=xsd:string maxOccurs=1 minOccurs=0/ xsd:element name=SourceAddress type=xsd:string maxOccurs=1 minOccurs=1/ xsd:element name=Encoding type=smscmn:SmsEncodingType/ xsd:element name=Segment type=smscmn:SegmentType maxOccurs=1 minOccurs=1/ /xsd:sequence /xsd:complexType xsd:complexType name=DeliverSmsResponseType xsd:sequence xsd:element name=StatusCode type=xsd:string maxOccurs=1 minOccurs=1/ xsd:element name=StatusDetail type=xsd:string maxOccurs=1 minOccurs=0/ /xsd:sequence /xsd:complexType xsd:complexType name=SmsDeliveryStatusType xsd:sequence xsd:element name=Destination type=smscmn:MSISDNType/ xsd:element name=Application type=app:ApplicationType maxOccurs=1 minOccurs=1/ xsd:element name=TimeStamp type=smscmn:TimeStampType maxOccurs=1 minOccurs=0/ xsd:element name=MessageId type=xsd:string maxOccurs=1 minOccurs=0/ xsd:element name=Status type=smscmn:StatusType maxOccurs=1 minOccurs=0/ /xsd:sequence /xsd:complexType xsd:element name=DeliverSmsRequestElement type=tns:DeliverSmsRequestType/ xsd:element name=DeliverSmsResponseElement type=tns:DeliverSmsResponseType/ xsd:element name=SmsDeliveryStatusElement type=tns:SmsDeliveryStatusType/ xsd:element
Axis2 Codegen-Can not serialize policy
Hi All; I want to generate Axis2 client code for the attached wsdl by using axis2codegen eclipse plugin. (1.3) But I get the can't serialize policy exception. The codegen works fine with other service descriptions that has no secirty info in it. But after adding security description I got that error. What should I do in order to call the service using rampart and create the client code. Should I add some jar files to the classpath of the eclipse plugin or should I use wsdl2java tool with some parameters. Or my wsdl is wrong? Yours. Ibrahim DEMIR CyberSoft Yazilim Muh. http://www.ibrahimdemir.org Service.wsdl Description: Binary data
Axis2 1.4 - Update .properties file in AAR
I have a web service deployed to Tomcat 5.5 using Axis2 1.4. (Win Server 2003/Java 5). My AAR file contains a .properties file that I would like to update. I can read the .properties from the AAR but I would like to know how it can be updated from within the AAR. Is this possible? Code below reads the property file in the AAR and sets a value for a certain key. Now I just need to save the updated value back to the .properties file in the AAR. InputStream propertystream = loader .getResourceAsStream(ConceptSearch.properties); Properties properties = new Properties() ; properties.load(propertystream); Enumeration e = properties.propertyNames(); while (e.hasMoreElements()) { String key = (String) e.nextElement(); if(key.equals(disableSERVICE)) { properties.setProperty(key, XYZZZ); } } Thank you.
Best way to load a configuration file in Axis2?
Hi, I am implementing a web service using Axis2 that can be tunned using several configuration parameters. My web service is deployed as *.aar file into the axis2/WEB-INF/services folder. I have done a separate XML configuration file that store those parameters, my idea was to include the configuration file into de final *.aar file and then try to load that configuration file in my code without the need to specify the full path on disk where it is placed. Is is possible to do this in Axis2? Can I use some kind of ServiceContext to do this? Thanks in advance, Mh
Re: Best way to load a configuration file in Axis2?
Hi I have read in XSD files for validating incoming XML parametrers to my web service. Use Class Loader and getResourceAsStream using the XML file as a parameter. Using this assumes you are trying to access the XML from the service where the XML file resides. You should be able to access the XML file if it's in your classpath. You can place it in the root of the AAR or in your classes folder. The 'sFilePath' variable below will hold web path and name of your XML file. If the XML is in the root folder of the AAR, then no path will be required. sFilePath can be set to: sFilePAth = myXMLFile.xml or ClassLoader loader = getClass().getClassLoader(); InputStream inputstream = loader.getResourceAsStream(sFilePath); Kim --- On Wed, 5/6/09, Moley Harey moleyha...@gmail.com wrote: From: Moley Harey moleyha...@gmail.com Subject: Best way to load a configuration file in Axis2? To: axis-user@ws.apache.org Date: Wednesday, May 6, 2009, 4:17 PM Hi, I am implementing a web service using Axis2 that can be tunned using several configuration parameters. My web service is deployed as *.aar file into the axis2/WEB-INF/services folder. I have done a separate XML configuration file that store those parameters, my idea was to include the configuration file into de final *.aar file and then try to load that configuration file in my code without the need to specify the full path on disk where it is placed. Is is possible to do this in Axis2? Can I use some kind of ServiceContext to do this? Thanks in advance, Mh
Re: Best way to load a configuration file in Axis2?
Hi I have read in XSD files for validating incoming XML parametrers to my web service. Use Class Loader and getResourceAsStream using the XML file as a parameter. Using this assumes you are trying to access the XML from the service where the XML file resides. You should be able to access the XML file if it's in your classpath. You can place it in the root of the AAR or in your classes folder. The 'sFilePath' variable below will hold web path and name of your XML file. If the XML is in the root folder of the AAR, then no path will be required. sFilePath can be set to: sFilePAth = myXMLFile.xml or ClassLoader loader = getClass().getClassLoader(); InputStream inputstream = loader.getResourceAsStream(sFilePath); Kim --- On Wed, 5/6/09, Moley Harey moleyha...@gmail.com wrote: From: Moley Harey moleyha...@gmail.com Subject: Best way to load a configuration file in Axis2? To: axis-user@ws.apache.org Date: Wednesday, May 6, 2009, 4:17 PM Hi, I am implementing a web service using Axis2 that can be tunned using several configuration parameters. My web service is deployed as *.aar file into the axis2/WEB-INF/services folder. I have done a separate XML configuration file that store those parameters, my idea was to include the configuration file into de final *.aar file and then try to load that configuration file in my code without the need to specify the full path on disk where it is placed. Is is possible to do this in Axis2? Can I use some kind of ServiceContext to do this? Thanks in advance, Mh
Re: Best way to load a configuration file in Axis2?
Hi I have read in XSD files for validating incoming XML parametrers to my web service. Use Class Loader and getResourceAsStream using the XML file as a parameter. Using this assumes you are trying to access the XML from the service where the XML file resides. You should be able to access the XML file if it's in your classpath. You can place it in the root of the AAR or in your classes folder. The 'sFilePath' variable below will hold web path and name of your XML file. If the XML is in the root folder of the AAR, then no path will be required. sFilePath can be set to: sFilePAth = myXMLFile.xml or sFilePath ClassLoader loader = getClass().getClassLoader(); InputStream inputstream = loader.getResourceAsStream(sFilePath); Kim --- On Wed, 5/6/09, Moley Harey moleyha...@gmail.com wrote: From: Moley Harey moleyha...@gmail.com Subject: Best way to load a configuration file in Axis2? To: axis-user@ws.apache.org Date: Wednesday, May 6, 2009, 4:17 PM Hi, I am implementing a web service using Axis2 that can be tunned using several configuration parameters. My web service is deployed as *.aar file into the axis2/WEB-INF/services folder. I have done a separate XML configuration file that store those parameters, my idea was to include the configuration file into de final *.aar file and then try to load that configuration file in my code without the need to specify the full path on disk where it is placed. Is is possible to do this in Axis2? Can I use some kind of ServiceContext to do this? Thanks in advance, Mh
Re: Best way to load a configuration file in Axis2?
Hi I have read in XSD files for validating incoming XML parametrers to my web service. Use Class Loader and getResourceAsStream using the XML file as a parameter. Using this assumes you are trying to access the XML from the service where the XML file resides. You should be able to access the XML file if it's in your classpath. You can place it in the root of the AAR or in your classes folder. The 'sFilePath' variable below will hold web path and name of your XML file. If the XML is in the root folder of the AAR, then no path will be required. sFilePath can be set to: sFilePAth = myXMLFile.xml or ClassLoader loader = getClass().getClassLoader(); InputStream inputstream = loader.getResourceAsStream(sFilePath); Kim --- On Wed, 5/6/09, Moley Harey moleyha...@gmail.com wrote: From: Moley Harey moleyha...@gmail.com Subject: Best way to load a configuration file in Axis2? To: axis-user@ws.apache.org Date: Wednesday, May 6, 2009, 4:17 PM Hi, I am implementing a web service using Axis2 that can be tunned using several configuration parameters. My web service is deployed as *.aar file into the axis2/WEB-INF/services folder. I have done a separate XML configuration file that store those parameters, my idea was to include the configuration file into de final *.aar file and then try to load that configuration file in my code without the need to specify the full path on disk where it is placed. Is is possible to do this in Axis2? Can I use some kind of ServiceContext to do this? Thanks in advance, Mh
Re: Best way to load a configuration file in Axis2?
Hi I have read in XSD files for validating incoming XML parametrers to my web service. Use Class Loader and getResourceAsStream using the XML file as a parameter. Using this assumes you are trying to access the XML from the service where the XML file resides. You should be able to access the XML file if it's in your classpath. You can place it in the root of the AAR or in your classes folder. The 'sFilePath' variable below will hold web path and name of your XML file. If the XML is in the root folder of the AAR, then no path will be required. sFilePath can be set to: sFilePAth = myXMLFile.xml or sFilePath = ClassLoader loader = getClass().getClassLoader(); InputStream inputstream = loader.getResourceAsStream(sFilePath); Kim --- On Wed, 5/6/09, Moley Harey moleyha...@gmail.com wrote: From: Moley Harey moleyha...@gmail.com Subject: Best way to load a configuration file in Axis2? To: axis-user@ws.apache.org Date: Wednesday, May 6, 2009, 4:17 PM Hi, I am implementing a web service using Axis2 that can be tunned using several configuration parameters. My web service is deployed as *.aar file into the axis2/WEB-INF/services folder. I have done a separate XML configuration file that store those parameters, my idea was to include the configuration file into de final *.aar file and then try to load that configuration file in my code without the need to specify the full path on disk where it is placed. Is is possible to do this in Axis2? Can I use some kind of ServiceContext to do this? Thanks in advance, Mh
Re: Best way to load a configuration file in Axis2?
Hi I have read in XSD files for validating incoming XML parametrers to my web service. Use Class Loader and getResourceAsStream using the XML file as a parameter. Using this assumes you are trying to access the XML from the service where the XML file resides. You should be able to access the XML file if it's in your classpath. You can place it in the root of the AAR or in your classes folder. The 'sFilePath' variable below will hold web path and name of your XML file. If the XML is in the root folder of the AAR, then no path will be required. sFilePath can be set to: sFilePAth = myXMLFile.xml or ClassLoader loader = getClass().getClassLoader(); InputStream inputstream = loader.getResourceAsStream(sFilePath); Kim --- On Wed, 5/6/09, Moley Harey moleyha...@gmail.com wrote: From: Moley Harey moleyha...@gmail.com Subject: Best way to load a configuration file in Axis2? To: axis-user@ws.apache.org Date: Wednesday, May 6, 2009, 4:17 PM Hi, I am implementing a web service using Axis2 that can be tunned using several configuration parameters. My web service is deployed as *.aar file into the axis2/WEB-INF/services folder. I have done a separate XML configuration file that store those parameters, my idea was to include the configuration file into de final *.aar file and then try to load that configuration file in my code without the need to specify the full path on disk where it is placed. Is is possible to do this in Axis2? Can I use some kind of ServiceContext to do this? Thanks in advance, Mh
Newbie question: how to plug axis2 engine into existing web application running in weblogic
Hi, I have a web application running in weblogic server. Now I get requirement to expose the server side as a web service so that some user can skip the GUI part and directly interact with this app via web service. I'm going to use axis2 as engine. I don't see any document about to plug the engine into an existing app. Any suggestions would be appreciated. Thanks, Mary Hu This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.
RE: Newbie question: how to plug axis2 engine into existing web application running in weblogic
One way to do it: 1. Add the Axis Servlet to web.xml servlet servlet-nameAxisServlet/servlet-name servlet-class org.apache.axis2.transport.http.AxisServlet /servlet-class load-on-startup1/load-on-startup /servlet servlet-mapping servlet-nameAxisServlet/servlet-name url-pattern/services/*/url-pattern /servlet-mapping 2. Create (or generate) WSDL that describes the service you plan to implement 3. Use the Axis2 wsdltojava tool to create the service skeleton, message receiver, and services.xml files. Here's a reference for the tool: http://wso2.org/library/tutorials/reference-guide-axis2-code-generation-parameters-part-1 4. Create a service folder structure under WEB-INF WEB-INF Services ServiceName META-INF 6. Add the WSDL and services.xml files to the META-INF folder in the newly created folder structure 7. Add the service skeleton and message receiver classes to your project 8. Add code to the service skeleton to make it do what you want 9. Add axis2 jars to the library path of your application. You will definitely need axis2-kernel. You might need others. From: Hu, Mary - ITG [mailto:mary...@jpmorgan.com] Sent: Wednesday, May 06, 2009 1:28 PM To: axis-user@ws.apache.org Subject: Newbie question: how to plug axis2 engine into existing web application running in weblogic Hi, I have a web application running in weblogic server. Now I get requirement to expose the server side as a web service so that some user can skip the GUI part and directly interact with this app via web service. I'm going to use axis2 as engine. I don't see any document about to plug the engine into an existing app. Any suggestions would be appreciated. Thanks, Mary Hu This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. STATEMENT OF CONFIDENTIALITY: The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify WHI Solutions immediately at g...@whisolutions.com, and destroy all copies of this message and any attachments.
AXIS2 and Weblogic 10.3
Hi, Has anyone executed any web application SUCCESSFULLY in WLS 10.3 with Axis2 1.3? Your suggestions required. Thanks Regards, Shasank Bhandari
SOAPMonitor applet not found
I have the SOAPMonitor configured in my web.xml and can access the URL in my web service. But I get an exception that the applet cannot be found: Exception: java.lang.ClassNotFoundException: org.apache.axis2.soapmonitor.applet.SOAPMonitorApplet.class I've imported the SOAPMonitorApplet class from the soapmonitor-1.4.1.jar file included with the Axis2 distribution into the web app.root. What am I missing? Thanks, T
Re: SOAPMonitor applet not found
On Wed, May 6, 2009 at 6:17 PM, Jack Sprat rexclaim...@yahoo.com wrote: I have the SOAPMonitor configured in my web.xml and can access the URL in my web service. But I get an exception that the applet cannot be found: Exception: java.lang.ClassNotFoundException: org.apache.axis2.soapmonitor.applet.SOAPMonitorApplet.class I've imported the SOAPMonitorApplet class from the soapmonitor-1.4.1.jar file included with the Axis2 distribution into the web app.root. What am I missing? Thanks, T Carefully reading the docs, you'll find: http://ws.apache.org/axis2/1_4/soapmonitor-module.html Starting with axis2 1.4, the applets code is in the org.apache.axis2.soapmonitor.applet package. Therefore the 'org' directory created by the unpacking of soapmonitor-1.4.jar should be placed in CATALINA_HOME/webapps/axis2/ as shown in the above example. Note the 'org' directory part of the docs. HTH, - R
Re: AXIS2 and Weblogic 10.3
Hi, We have executed WL 10.x with Axis 2.14. What exactly is the problem you are facing? Regards Hari On Wed, May 6, 2009 at 11:49 PM, Shasank Bhandari shasank.bhandari@fedex.com wrote: Hi, Has anyone executed any web application SUCCESSFULLY in WLS 10.3 with Axis2 1.3? Your suggestions required. *Thanks Regards,* *Shasank Bhandari* **
Re: Handling Large data in a method call
Hi Dennis, Currently We are going with the other alternative of making multiple calls to send data. Still need to see other binding options JiBX and JAXB. Thanks, Sudhir On Wed, May 6, 2009 at 11:01 AM, Dennis Sosnoski d...@sosnoski.com wrote: HTTP chunking is probably already in use, but in any case is unlikely to make any difference in your memory usage. XMLBeans *always* builds the document representation in memory - that's just how it's written. The representation it builds is not as memory-intensive as that used by WS-Security, but it's still a lot more than the size of the data objects that are being serialized. Your other alternative is to use multiple messages to send the data. Since you have some control over the server side you should be able to change the interface to allow multiple calls to the same operation. This would allow you to just break up the data into multiple requests when it gets beyond a certain size (perhaps 2 objects, or whatever number makes sense). Maybe this is what you meant by the reference to chunking? - Dennis Sudhir Mongia wrote: Hi Dennis, Thanks for your reply, Sorry I missed to thanks you in my previous email, I was slightly inside the problem. Just to add here we are also thinking of using another approaches like http chunking. Thanks, Sudhir On Wed, May 6, 2009 at 10:12 AM, Sudhir Mongia sudhir.mon...@gmail.commailto: sudhir.mon...@gmail.com wrote: Hi Dennis, We are not using WS-Security. Still its paining us. The problem we are facing is memory consumption while serialization. We are using xmlbeans databinding, we couldn't go for ADB as it doesn't supports Complex type extension and restrictions and we have not evaluated other binding options as of now. Thanks, Sudhir On Wed, May 6, 2009 at 3:01 AM, Dennis Sosnoski d...@sosnoski.com mailto:d...@sosnoski.com wrote: Hi Sudhir, Are you using WS-Security for the service? WS-Security builds an in-memory model of the XML if you're using signatures (and perhaps at other times - I haven't checked, but there appeared to be some issues in this area). If you're not using WS-Security this type of data should not be causing problems. What data binding approach are you using? (ADB, XMLBeans, JiBX, JAXB?) - Dennis --Dennis M. Sosnoski SOA and Web Services in Java Axis2 Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 Sudhir Mongia wrote: Hi, Has anyone got any experience in this type of problem ? One possible solution we used temporarily is, pass data fragment in in a call and do multiple calls to send the complete data.But we are reluctant to go with this approach in production. Any help/pointer ? Thanks, Sudhir On Mon, May 4, 2009 at 2:23 PM, Sudhir Mongia sudhir.mon...@gmail.com mailto:sudhir.mon...@gmail.com mailto:sudhir.mon...@gmail.com mailto:sudhir.mon...@gmail.com wrote: Hi, We have a web method exposed by .net app and we using client stubs generated through Axis2. This method accepts an array of objects. The object is very heavy object containing 25+ members variables of double and string type. The calls to this method fails sometimes due to memory when we are trying to send large number of objects e.g. 10-20. Any suggestions/idea , how can we compress the size of data to fix this problem? We have control up to some extent on server side as well. Thanks, Sudhir