|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Dec 2003
Messaggi: 458
|
[JAVA - AXIS 2] org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException
axis 2.1.5.2
org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement westernUnionCheckResponse questo il mio wsdl Codice HTML:
<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://tempuri.org/checkForWesternUnion" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://tempuri.org/checkForWesternUnion" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="checkForWesternUnion" targetNamespace="http://tempuri.org/checkForWesternUnion"><wsdl:types><xsd:schema targetNamespace="http://tempuri.org/checkForWesternUnion" xmlns:mrm="http://tempuri.org/checkForWesternUnion" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:complexType name="complexType"><xsd:sequence><xsd:element default="00000000000000000000000000" name="request_id"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:minLength value="26"/><xsd:maxLength value="26"/></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="cognome" type="xsd:string"/><xsd:element name="nome" type="xsd:string"/><xsd:element name="isoStato" type="xsd:string"/><xsd:element name="ixp_operation"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:minLength value="8"/><xsd:maxLength value="8"/></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="ixp_application"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:minLength value="8"/><xsd:maxLength value="8"/></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="ixp_target_des"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:minLength value="8"/><xsd:maxLength value="8"/></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="channel_id"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:minLength value="4"/><xsd:maxLength value="4"/></xsd:restriction></xsd:simpleType></xsd:element></xsd:sequence></xsd:complexType> <xsd:complexType name="complexType1"><xsd:sequence><xsd:element minOccurs="0" name="return"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:minLength value="2"/><xsd:maxLength value="2"/></xsd:restriction></xsd:simpleType></xsd:element><xsd:element minOccurs="0" name="error" type="xsd:string"/></xsd:sequence></xsd:complexType> <xsd:element name="westernUnionCheck" type="complexType"/> <xsd:element name="westernUnionCheckResponse" type="complexType1"/> </xsd:schema></wsdl:types><wsdl:message name="westernUnion_in"><wsdl:part element="westernUnionCheck" name="westernUnionCheck"/></wsdl:message><wsdl:message name="westernUnion_out"><wsdl:part element="westernUnionCheckResponse" name="westernUnionCheckResponse"/></wsdl:message><wsdl:message name="westernUnion_fault1"><wsdl:part element="westernUnionCheckResponse" name="westernUnionCheckResponse"/></wsdl:message><wsdl:portType name="checkForWesternUnionPortType"><wsdl:operation name="westernUnion"><wsdl:input message="westernUnion_in" name="westernUnion_Input"/><wsdl:output message="westernUnion_out" name="westernUnion_Output"/><wsdl:fault message="westernUnion_fault1" name="westernUnion_Fault"/></wsdl:operation></wsdl:portType><wsdl:binding name="checkForWesternUnionSOAP_HTTP_Binding" type="checkForWesternUnionPortType"><soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="westernUnion"><soap:operation soapAction="westernUnion"/><wsdl:input name="westernUnion_Input"><soap:body parts="westernUnionCheck" use="literal"/></wsdl:input><wsdl:output name="westernUnion_Output"><soap:body parts="westernUnionCheckResponse" use="literal"/></wsdl:output><wsdl:fault name="westernUnion_Fault"><soap:fault name="westernUnion_Fault" use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:service name="westernUnion"><wsdl:port binding="checkForWesternUnionSOAP_HTTP_Binding" name="SOAP_HTTP_Port"><soap:address location="http://.......westernUnionCheck"/></wsdl:port> </wsdl:service></wsdl:definitions> questo il mio messaggio di risposta Codice HTML:
HTTP/1.1 200 OK Date: Tue, 17 May 2011 11:27:28 GMT X-Powered-By: Servlet/2.5 JSP/2.1 Content-Type: text/xml;charset=utf-8 Content-Length: 251 Server: Apache-Coyote/1.1 <?xml version="1.0" encoding="UTF-8"?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><NS1:westernUnionCheckResponse xmlns:NS1="http://safewatch.isp.it/"><return>OK</return></NS1:westernUnionCheckResponse></S:Body></S:Envelope> dove sbaglio? grazie |
|
|
|
|
|
#2 | |
|
Senior Member
Iscritto dal: Dec 2003
Messaggi: 458
|
Quote:
non può essere colpa di quel "NS1="http://safewatch.isp.it/"? |
|
|
|
|
|
|
#3 |
|
Senior Member
Iscritto dal: Dec 2003
Messaggi: 458
|
diana_est ha scritto:
> > <?xml version="1.0" encoding="UTF-8"?><S:Envelope > > > xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><NS1:westernUnionCheckResponse > > > xmlns:NS1="http://safewatch.isp.it/"><return>OK</return></NS1:westernUnionCheckResponse></S:Body></S:Envelope> > non può essere colpa di quel "NS1="http://safewatch.isp.it/"? https://forums.aws.amazon.com/thread...threadID=59913 ho risolto usando "-d jaxbri" grazie |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 16:12.




















