You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Eben Bruyns <ge...@gmail.com> on 2007/10/04 01:28:51 UTC
problem with Axis2 1.3 not sending xml body
Hi Guys,
I've got an RPC encoded WSDL (yeah I know they are evil) which I
converted to an RPC Literal. After I generated the proxy classes I'm
unable to find the XML Data in the HTML body (this is a client proxy
and it's doing a post).
Am I missing something really obvious?
Another thing I have noticed is that it does not encode html in a
string variable properly I end up with a string like this:
<SomeTag/>
Regards,
Eben
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: problem with Axis2 1.3 not sending xml body
Posted by Eben Bruyns <ge...@gmail.com>.
Hi Guys,
I just made a cut down version of the WSDL that is producing this
issue for me, could anybody please point out my mistake?
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://www.hiso.org.nz/pms/wsdl"
xmlns:intf="http://www.hiso.org.nz/pms/wsdl"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns1="http://www.hiso.org.nz/pms"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:hiso="http://www.hiso.org.nz/pms"
targetNamespace="http://www.hiso.org.nz/pms/wsdl">
<wsdl:message name="getFormXMLRequest">
<wsdl:part name="sessionKey" type="xsd:string"/>
<wsdl:part name="formXML" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="getFormXMLResponse">
<wsdl:part name="return" type="xsd:string"/>
</wsdl:message>
<wsdl:portType name="TestPortType">
<wsdl:operation name="getFormXML">
<wsdl:input message="impl:getFormXMLRequest"/>
<wsdl:output message="impl:getFormXMLResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="NewBinding" type="impl:TestPortType">
<wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getFormXML">
<wsdlsoap:operation soapAction="urn:#getFormXML"/>
<wsdl:input>
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="PmsService">
<wsdl:port name="NewPort" binding="impl:NewBinding">
<wsdlsoap:address location="http://localhost:7080"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
On 10/4/07, Eben Bruyns <ge...@gmail.com> wrote:
> Hi Guys,
>
> I've got an RPC encoded WSDL (yeah I know they are evil) which I
> converted to an RPC Literal. After I generated the proxy classes I'm
> unable to find the XML Data in the HTML body (this is a client proxy
> and it's doing a post).
>
> Am I missing something really obvious?
>
> Another thing I have noticed is that it does not encode html in a
> string variable properly I end up with a string like this:
>
> <SomeTag/>
>
> Regards,
>
> Eben
>
--
.E
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org