|
Christian,
thanks again. Changed the style to WRAPPED in the
.wsdd file (the one generated from wsdl2java as below) and am now getting an
error like:
(I'm attaching my wsdd file as well
below)
Do i have to change anything else to make it work
again? Sorry for the huge amount of question's but i think i don't understand
the behavior that well.
------------------- BEGIN ERROR
-------------
No such operation
'arg1'
AxisFault faultCode: {http://xml.apache.org/axis/}Client faultSubcode: faultString: No such operation 'arg1' faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:willo No such operation 'arg1'
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1083) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1712) at org.apache.crimson.parser.Parser2.content(Parser2.java:1963) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691) at org.apache.crimson.parser.Parser2.content(Parser2.java:1963) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667) at org.apache.crimson.parser.Parser2.parse(Parser2.java:337) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:226) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645) at org.apache.axis.Message.getSOAPEnvelope(Message.java:424) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:173) at org.apache.axis.client.Call.invokeEngine(Call.java:2719) at org.apache.axis.client.Call.invoke(Call.java:2702) at org.apache.axis.client.Call.invoke(Call.java:2378) at org.apache.axis.client.Call.invoke(Call.java:2301) at org.apache.axis.client.Call.invoke(Call.java:1758) at com.company.www.PortTypeBindingStub.testOperation(PortTypeBindingStub.java:104) at com.company.www.ServicePortTestCase.test1ServicePortTestOperation(ServicePortTestCase.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78) ------------------- END ERROR
-------------
------------ BEGIN WSDD
---------------
<deployment
xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <!-- Services from ServicePort WSDL
service -->
<service name="ServicePort"
style="WRAPPED" use="literal">
<parameter name="wsdlTargetNamespace" value="http://www.company.com"/> <parameter name="wsdlServiceElement" value="ServicePort"/> <parameter name="wsdlServicePort" value="ServicePort"/> <parameter name="className" value="com.company.www.PortTypeBindingImpl"/> <parameter name="wsdlPortType" value="PortType"/> <operation name="testOperation" qname="testOperation" soapAction="capeconnect:ServicePort:PortType#testOperation" > <parameter qname="arg1" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/> <parameter qname="arg2" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/> <parameter qname="arg3" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/> </operation> <parameter name="allowedMethods" value="testOperation"/>
</service>
</deployment> ------------ END WSDD
---------------
|
Title: Message
- RE : Is this a serious bug in string parameter passing ... Faucher, Christian
- Re: Is this a serious bug in string parameter pass... Hollywood
- RE : Is this a serious bug in string parameter pas... Faucher, Christian
- RE : Is this a serious bug in string parameter... thomas willomitzer
- RE : Is this a serious bug in string parameter pas... Faucher, Christian
- Re: Is this a serious bug in string parameter ... thomas willomitzer
- RE : Is this a serious bug in string parameter pas... Faucher, Christian
- Re: Is this a serious bug in string parameter ... Hollywood
- Re: Is this a serious bug in string parame... Anne Thomas Manes
- Re: Is this a serious bug in string parameter ... thomas willomitzer
