Christian,
I think the type for the part name (nameParam) must refer to an element
(or complex type) defined in your schema type, not a xsd:string.
Refering to message:
message name=HelloWorld.Execute
part name=nameParam type=xsd:string
documentation xa:default=
There's no need to do this.
In an rpc/encoded WSDL, the message part must reference a type, not an
element. It's perfectly legal to reference an xsd type. So the
original WSDL description is fine:
message name=HelloWorld.Execute
part name=nameParam type=xsd:string
Christian,
There is a problem with your WSDL. You have a soapAction attribute
specified on the wsdl:portType/wsdl:operation element, which is not
permitted:
portType name=HelloWorldSoapPort
operation name=Execute
soapAction=http://localhost:8090/action/HelloWorld.Execute;
Title: Message
Eric,
Thanks
for your answer. I'll raise a trouble report on the company that pushishes
this WSDL.
Another question: the WS-I validator you mentioned, where can I find
it? Is it packaged with Axis 1.2RC2?
BR,
Christian Faucher
-Message d'origine-De: Eric
Sorry,
Typo below:
As in should have PART = part name=nameParam type=wsdlns:astring
TMG
TMG wrote:
Christian,
I think the type for the part name (nameParam) must refer to an
element (or complex type) defined in your schema type, not a xsd:string.
Refering to message:
message
Christian,
Maybe the third time is the charm :).
Change the message to be:
element name=astring type=xsd:string /
message name=HelloWorld.Execute
part name=nameParam element=wsdlns:astring
documentation xa:default= xa:description= /
/part
/message
I had the right words,
Title: Message
Hi Tom,
Thanks for the quick answer, but it
didnt fix the problem. :-(
I cutpasted the latest
changes you sent me, but it still breaks. Actually it breaks few steps
below in WSDL file, on "definitions/portType/operation", having a attribute
(soapAction) in a wrong
Title: Message
Christian,
the soapAction attribute is only valid for the binding
element, not the portType element
replace
operation
name="Execute" soapAction="http://localhost:8090/action/HelloWorld.Execute"
parameterOrder="nameParam"with
operation