Hi,
> Message part (http::/www.company.com/sps/artifactWithDefaultSpEntityRequest
> was not recognized, (Does is exist in WSDL?)
This log is interesting, Message Part is a QName, the output of QName is
"{" + namespaceURI + "}" + localPart
if the namespace isn't NULL_NS_URI
I don't see the expected "{" "}" in the log, what's the namespace for the
message part in your wsdl? Also the local name start from "http::/" which is
also weird to me.
-------------
Freeman(Yue) Fang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋
On 2013-6-19, at 上午3:43, Aaron Stromas wrote:
> Hello,
>
> I'm getting the a SOAP fault informing me that the message is note
> recognized. Specifically,
> Message part (http::/www.company.com/sps/artifactWithDefaultSpEntityRequest
> was not recognized, (Does is exist in WSDL?) The WSDL does contain
> message definition and was validated with the wsdlvalidator utility.
> Any idea why am I getting this fault? The relevant WSDL excerpts
> follow.
>
> <xsd:schema>
> <wsdl:types>
> ...
> <xsd:element name="artifactWithDefaultSpEntityRequest"
> type="tns:ArtifactWithDefaultSpEntityType">
> </xsd:element>
>
> <xsd:complexType name="ArtifactWithDefaultSpEntityType">
> <xsd:sequence>
> <xsd:element name="nameId" type="xsd:string"
> maxOccurs="1" minOccurs="1">
> </xsd:element>
> <xsd:element name="targetUrl" type="xsd:string"
> maxOccurs="1" minOccurs="1">
> </xsd:element>
> <xsd:element name="attributes"
> type="tns:AttributeType" maxOccurs="unbounded"
> minOccurs="0"></xsd:element>
> </xsd:sequence>
> </xsd:complexType>
> <xsd:element name="artifactWithDefaultSpEntityFault"
> type="tns:SpsFaultType">
>
> </xsd:element>
> </xsd:schema>
> </wsdl:types>
> ...
> <wsdl:message name="artifactWithDefaultSpEntityRequest">
> <wsdl:part name="parameters"
> element="tns:artifactWithDefaultSpEntityRequest">
> </wsdl:part>
> </wsdl:message>
> ...
> <wsdl:portType name="svc">
> <wsdl:operation name="artifactWithDefaultSpEntity">
> <wsdl:input
> message="tns:artifactWithDefaultSpEntityRequest"></wsdl:input>
> <wsdl:output
> message="tns:artifactWithDefaultSpEntityResponse"></wsdl:output>
> <wsdl:fault name="fault"
> message="tns:artifactWithDefaultSpEntityFault"></wsdl:fault>
> </wsdl:operation>
> </wsdl:portType>
> <wsdl:binding name="svcSOAP" type="tns:svc">
> <wsdl:operation name="artifactWithDefaultSpEntity">
> <soap:operation
> soapAction="http://www.company.com/sps/artifactWithDefaultSpEntity"/>
> <wsdl:input>
> <soap:body use="literal"/>
> </wsdl:input>
> <wsdl:output>
> <soap:body use="literal"/>
> </wsdl:output>
> ......
> </wsdl:binding>
> --
> Aaron Stromas