Re: [axis2] Multiref client request to axis2 service
Any ideas on how multi ref soap envelope could be parsed on server side? Amila Suriarachchi wrote: On Tue, Feb 10, 2009 at 11:50 AM, Ashwini Chavan acha...@vertex.co.in mailto:acha...@vertex.co.in wrote: I am still stuck on this. Can someone help me? Does axis2 support multi-ref soap request? it does not support this. and soap encoding. thanks, Amila. 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 proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy the original message all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. Please do not print this email unless it is absolutely necessary. -- Forwarded message -- From: Ashwini Chavan acha...@vertex.co.in mailto:acha...@vertex.co.in To: axis-...@ws.apache.org mailto:axis-...@ws.apache.org Date: Fri, 06 Feb 2009 11:17:39 +0530 Subject: [axis2] Multiref client request to axis2 service I am newbie to webservice. My axis2 webservice is generated using wsdl2java tool with XMLBeans data binding extension. Webservice client is sending multiref soap envelope in the request. My WSDL is document/encoded. I have attached my WSDL file and the client request soap envelope that I receive. I am receiving the values of input parameters as null in the service. Can someone help me to find out why? Do I need to do any more changes? please help Also, in the web service response, content-length is not getting set. My web service is deployed on tomcat. I also tested this with the standalone axis2 server. My client request is using HTTP/1.0 protocol and hence tranfer-encoding chunked is disabled. Any response should be of great help. Thanks and regards, ?xml version=1.0 encoding=UTF-8? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; soapenv:Body ns1:getIPAddress soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; xmlns:ns1=http://www.example.org/test/; data href=#id0 / /ns1:provisionComplete multiRef id=id0 soapenc:root=0 soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; xsi:type=ns2:data xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; xmlns:ns2=http://www.example.org/test/; name xsi:type=xsd:string100.100.100.100/name statusCode href=#id1 / /multiRef multiRef id=id1 soapenc:root=0 soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; xsi:type=ns3:statusCode xmlns:ns3=http://www.example.org/test/; xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; 1 /multiRef /soapenv:Body /soapenv:Envelope -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ -- *Ashwini Chavan : Cell 9890573363* Technical Leader Vertex Software Pvt. Ltd. (An NTT DATA Company) Creating Value E-mail: acha...@vertex.co.in Website: www.vertexsoft.com Server Space, 5th 6th Floor, AG Technology Park, Off ITI Road, Aundh, Pune - 411 007, Maharashtra, India Phone: +91-20-66041500 X 718 Fax: +91-20-66041621. 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 proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy the original message all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any
Re: [axis2] Multiref client request to axis2 service
On Tue, Feb 10, 2009 at 11:50 AM, Ashwini Chavan acha...@vertex.co.inwrote: I am still stuck on this. Can someone help me? Does axis2 support multi-ref soap request? it does not support this. and soap encoding. thanks, Amila. 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 proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy the original message all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. Please do not print this email unless it is absolutely necessary. -- Forwarded message -- From: Ashwini Chavan acha...@vertex.co.in To: axis-...@ws.apache.org Date: Fri, 06 Feb 2009 11:17:39 +0530 Subject: [axis2] Multiref client request to axis2 service I am newbie to webservice. My axis2 webservice is generated using wsdl2java tool with XMLBeans data binding extension. Webservice client is sending multiref soap envelope in the request. My WSDL is document/encoded. I have attached my WSDL file and the client request soap envelope that I receive. I am receiving the values of input parameters as null in the service. Can someone help me to find out why? Do I need to do any more changes? please help Also, in the web service response, content-length is not getting set. My web service is deployed on tomcat. I also tested this with the standalone axis2 server. My client request is using HTTP/1.0 protocol and hence tranfer-encoding chunked is disabled. Any response should be of great help. Thanks and regards, ?xml version=1.0 encoding=UTF-8? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; soapenv:Body ns1:getIPAddress soapenv:encodingStyle= http://schemas.xmlsoap.org/soap/encoding/; xmlns:ns1=http://www.example.org/test/; data href=#id0 / /ns1:provisionComplete multiRef id=id0 soapenc:root=0 soapenv:encodingStyle= http://schemas.xmlsoap.org/soap/encoding/; xsi:type=ns2:data xmlns:soapenc= http://schemas.xmlsoap.org/soap/encoding/; xmlns:ns2=http://www.example.org/test/; name xsi:type=xsd:string100.100.100.100/name statusCode href=#id1 / /multiRef multiRef id=id1 soapenc:root=0 soapenv:encodingStyle= http://schemas.xmlsoap.org/soap/encoding/; xsi:type=ns3:statusCode xmlns:ns3=http://www.example.org/test/; xmlns:soapenc= http://schemas.xmlsoap.org/soap/encoding/; 1 /multiRef /soapenv:Body /soapenv:Envelope -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
[axis2] Multiref client request to axis2 service
I am still stuck on this. Can someone help me? Does axis2 support multi-ref soap request? 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 proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy the original message all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. Please do not print this email unless it is absolutely necessary.---BeginMessage--- I am newbie to webservice. My axis2 webservice is generated using wsdl2java tool with XMLBeans data binding extension. Webservice client is sending multiref soap envelope in the request. My WSDL is document/encoded. I have attached my WSDL file and the client request soap envelope that I receive. I am receiving the values of input parameters as null in the service. Can someone help me to find out why? Do I need to do any more changes? please help Also, in the web service response, content-length is not getting set. My web service is deployed on tomcat. I also tested this with the standalone axis2 server. My client request is using HTTP/1.0 protocol and hence tranfer-encoding chunked is disabled. Any response should be of great help. Thanks and regards, ?xml version=1.0 encoding=UTF-8? wsdl:definitions name=test targetNamespace=http://www.example.org/test/; xmlns:tns=http://www.example.org/test/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; wsdl:types xsd:schema targetNamespace=http://www.example.org/test/; xsd:element name=getIPAddress xsd:complexType xsd:sequence xsd:element name=data xsd:complexType xsd:sequence xsd:element name=name type=xsd:string/ xsd:element name=statusCode type=xsd:int /xsd:element /xsd:sequence /xsd:complexType /xsd:element /xsd:sequence /xsd:complexType /xsd:element /xsd:schema /wsdl:types wsdl:message name=getIPAddressRequest wsdl:part name=parameters element=tns:getIPAddress /wsdl:part /wsdl:message wsdl:portType name=test wsdl:operation name=getIPAddress wsdl:input message=tns:getIPAddressRequest /wsdl:input /wsdl:operation /wsdl:portType wsdl:binding name=testSOAP type=tns:test soap:binding style=document transport=http://schemas.xmlsoap.org/soap/http/ wsdl:operation name=getIPAddress soap:operation soapAction=http://www.example.org/test/getIPAddress; style=document/ wsdl:input soap:body parts=parameters use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding// /wsdl:input wsdl:output soap:body use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding// /wsdl:output /wsdl:operation /wsdl:binding wsdl:service name=test wsdl:port name=testSOAP binding=tns:testSOAP soap:address location=http://www.example.org// /wsdl:port /wsdl:service /wsdl:definitions ?xml version=1.0 encoding=UTF-8? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; soapenv:Body ns1:getIPAddress soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; xmlns:ns1=http://www.example.org/test/; data href=#id0 / /ns1:provisionComplete multiRef id=id0 soapenc:root=0 soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; xsi:type=ns2:data xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; xmlns:ns2=http://www.example.org/test/; name xsi:type=xsd:string100.100.100.100/name statusCode href=#id1 / /multiRef multiRef id=id1 soapenc:root=0 soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; xsi:type=ns3:statusCode xmlns:ns3=http://www.example.org/test/; xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; 1 /multiRef /soapenv:Body /soapenv:Envelope ---End Message---
[axis2] Multiref client request to axis2 service
I am sorry I posted my question to the wrong group. My axis2 webservice is generated using wsdl2java tool with XMLBeans data binding extension. Webservice client is sending multiref soap envelope in the request. My WSDL is document/encoded. I have attached my WSDL file and the client request soap envelope that I receive. I am receiving the values of input parameters as null in the service. Can someone help me to find out why? Do I need to do any more changes? please help Also, in the web service response, content-length is not getting set. My web service is deployed on tomcat. I also tested this with the standalone axis2 server. My client request is using HTTP/1.0 protocol and hence tranfer-encoding chunked is disabled. Any response should be of great help. Thanks and regards, 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 proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy the original message all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. Please do not print this email unless it is absolutely necessary.?xml version=1.0 encoding=UTF-8? wsdl:definitions name=test targetNamespace=http://www.example.org/test/; xmlns:tns=http://www.example.org/test/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; wsdl:types xsd:schema targetNamespace=http://www.example.org/test/; xsd:element name=getIPAddress xsd:complexType xsd:sequence xsd:element name=data xsd:complexType xsd:sequence xsd:element name=name type=xsd:string/ xsd:element name=statusCode type=xsd:int /xsd:element /xsd:sequence /xsd:complexType /xsd:element /xsd:sequence /xsd:complexType /xsd:element /xsd:schema /wsdl:types wsdl:message name=getIPAddressRequest wsdl:part name=parameters element=tns:getIPAddress /wsdl:part /wsdl:message wsdl:portType name=test wsdl:operation name=getIPAddress wsdl:input message=tns:getIPAddressRequest /wsdl:input /wsdl:operation /wsdl:portType wsdl:binding name=testSOAP type=tns:test soap:binding style=document transport=http://schemas.xmlsoap.org/soap/http/ wsdl:operation name=getIPAddress soap:operation soapAction=http://www.example.org/test/getIPAddress; style=document/ wsdl:input soap:body parts=parameters use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding// /wsdl:input wsdl:output soap:body use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding// /wsdl:output /wsdl:operation /wsdl:binding wsdl:service name=test wsdl:port name=testSOAP binding=tns:testSOAP soap:address location=http://www.example.org// /wsdl:port /wsdl:service /wsdl:definitions ?xml version=1.0 encoding=UTF-8? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; soapenv:Body ns1:getIPAddress soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; xmlns:ns1=http://www.example.org/test/; data href=#id0 / /ns1:provisionComplete multiRef id=id0 soapenc:root=0 soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; xsi:type=ns2:data xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; xmlns:ns2=http://www.example.org/test/; name xsi:type=xsd:string100.100.100.100/name statusCode href=#id1 / /multiRef multiRef id=id1 soapenc:root=0 soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; xsi:type=ns3:statusCode xmlns:ns3=http://www.example.org/test/; xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; 1 /multiRef /soapenv:Body /soapenv:Envelope
Multiref client request to axis2 service
I am newbie to webservice. My axis2 webservice is generated using wsdl2java tool with XMLBeans data binding extension. Webservice client is sending multiref soap envelope in the request. My WSDL is document/encoded. I am receiving the values of input parameters as null in the service. Can someone help me to find out why? Do I need to change anything else in my service? please help -- View this message in context: http://www.nabble.com/Multiref-client-request-to-axis2-service-tp21850304p21850304.html Sent from the Axis - User mailing list archive at Nabble.com.