|
Hi!
I'm new one in this fiels,I try to use axis thru
cocoon.
the cocoon has a sample for axis,and little sample for
soap client
the axis sample has an info for perl client
is
use SOAP::Lite; print SOAP::Lite -> uri('Cocoon-JVM-System') -> proxy('http://localhost:8888/samples/axis/rpcrouter') -> getOperatingSystem() -> result; print "\n"; and there're another cocoon's xsp sample is <soap:call url=""http://services.xmethods.net:80/soap/servlet/rpcrouter">http://services.xmethods.net:80/soap/servlet/rpcrouter"> <ns1:getTemp xmlns:ns1="urn:xmethods-Temperature"> <soap:enc/> <zipcode xsi_type="xsd:string">90210</zipcode> </ns1:getTemp> </soap:call> I try to change to <soap:call method="Cocoon-JVM-System" url=""http://localhost:8080/cocoon/samples/axis/rpcrouter">http://localhost:8080/cocoon/samples/axis/rpcrouter"> <m:getOperatingSystem xmlns:m="http://xml.apache.org/axis/wsdd/"/> </soap:call> the system error is <faultcode>soapenv:Server.userException</faultcode> <faultstring>org.apache.axis.deployment.wsdd.WSDDException: Invalid WSDD element 'getOperatingSystem' (wanted 'deployment') org.apache.axis.deployment.wsdd.WSDDException: Invalid WSDD element 'getOperatingSystem' (wanted 'deployment') at ... I'm new one in this field,can anyone help me to solve this ! Best Regards Johnson |
