axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eben Bruyns" <gee...@gmail.com>
Subject Re: problem with Axis2 1.3 not sending xml body
Date Thu, 04 Oct 2007 00:10:05 GMT
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 <geek01@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:
>
> &lt;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


Mime
View raw message