Note that there are some explanatory texts on larger screens.

plurals
  1. POError in generating java classes from wsdl
    primarykey
    data
    text
    <p>Recently i started work on implementing web service client from eclipse. i got wsdl from aramex.com/developers. I wanted to implement a shipment tracking client. but when i generating java classes from below wsdl file it gives me below error.</p> <pre><code>java.io.IOException: Emitter failure. There is an undefined binding (BasicHttpBinding_Service_1_0) in the WSDL document. Hint: make sure &lt;port binding=".."&gt; is fully qualified. at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:570) at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:715) at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:543) at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:518) at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495) at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361) at java.lang.Thread.run(Unknown Source) </code></pre> <p>below is the wsdl file i got from aramex.com/developers.</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;wsdl:definitions xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:i0="http://ws.aramex.net/ShippingAPI/v1" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:tns="http://ws.aramex.net/ShippingAPI/v1/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://ws.aramex.net/ShippingAPI/v1/" name="Service_1_0"&gt; &lt;wsdl:binding type="i0:Service_1_0" name="BasicHttpBinding_Service_1_0"&gt; &lt;soap:binding transport="http://schemas.xmlsoap.org/soap/http"/&gt; &lt;wsdl:operation name="TrackShipments"&gt; &lt;soap:operation style="document" soapAction="http://ws.aramex.net/ShippingAPI/v1/Service_1_0/TrackShipments"/&gt; &lt;wsdl:input name="ShipmentTrackingRequest"&gt; &lt;soap:body use="literal"/&gt; &lt;/wsdl:input&gt; &lt;wsdl:output name="ShipmentTrackingResponse"&gt; &lt;soap:body use="literal"/&gt; &lt;/wsdl:output&gt; &lt;/wsdl:operation&gt; &lt;/wsdl:binding&gt; &lt;wsdl:types&gt; &lt;xsd:schema targetNamespace="http://ws.aramex.net/ShippingAPI/v1/" elementFormDefault="qualified"&gt; &lt;xsd:element name="ShipmentTrackingRequest"&gt; &lt;xsd:complexType&gt; &lt;xsd:sequence&gt; &lt;xsd:element type="tns:ClientInfo" name="ClientInfo" nillable="true" minOccurs="0"/&gt; &lt;xsd:element type="tns:Transaction" name="Transaction" nillable="true" minOccurs="0"/&gt; &lt;xsd:element type="q1:ArrayOfstring" name="Shipments" nillable="true" minOccurs="0" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/&gt; &lt;xsd:element type="xsd:boolean" name="GetLastTrackingUpdateOnly" minOccurs="0"/&gt; &lt;/xsd:sequence&gt; &lt;/xsd:complexType&gt; &lt;/xsd:element&gt; &lt;xsd:complexType name="ClientInfo"&gt; &lt;xsd:sequence&gt; &lt;xsd:element type="xsd:string" name="UserName" nillable="true"/&gt; &lt;xsd:element type="xsd:string" name="Password" nillable="true"/&gt; &lt;xsd:element type="xsd:string" name="Version" nillable="true"/&gt; &lt;xsd:element type="xsd:string" name="AccountNumber" nillable="true"/&gt; &lt;xsd:element type="xsd:string" name="AccountPin" nillable="true"/&gt; &lt;xsd:element type="xsd:string" name="AccountEntity" nillable="true"/&gt; &lt;xsd:element type="xsd:string" name="AccountCountryCode" nillable="true"/&gt; &lt;/xsd:sequence&gt; &lt;/xsd:complexType&gt; &lt;xsd:element type="tns:ClientInfo" name="ClientInfo" nillable="true"/&gt; &lt;xsd:complexType name="Transaction"&gt; &lt;xsd:sequence&gt; &lt;xsd:element type="xsd:string" name="Reference1" nillable="true"/&gt; &lt;xsd:element type="xsd:string" name="Reference2" nillable="true"/&gt; &lt;xsd:element type="xsd:string" name="Reference3" nillable="true"/&gt; &lt;xsd:element type="xsd:string" name="Reference4" nillable="true"/&gt; &lt;xsd:element type="xsd:string" name="Reference5" nillable="true"/&gt; &lt;/xsd:sequence&gt; &lt;/xsd:complexType&gt; &lt;xsd:element type="tns:Transaction" name="Transaction" nillable="true"/&gt; &lt;xsd:element name="ShipmentTrackingResponse"&gt; &lt;xsd:complexType&gt; &lt;xsd:sequence&gt; &lt;xsd:element type="tns:Transaction" name="Transaction" nillable="true" minOccurs="0"/&gt; &lt;xsd:element type="tns:ArrayOfNotification" name="Notifications" nillable="true" minOccurs="0"/&gt; &lt;xsd:element type="xsd:boolean" name="HasErrors" minOccurs="0"/&gt; &lt;xsd:element type="q2:ArrayOfKeyValueOfstringArrayOfTrackingResultmFAkxlpY" name="TrackingResults" nillable="true" minOccurs="0" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/&gt; &lt;/xsd:sequence&gt; &lt;/xsd:complexType&gt; &lt;/xsd:element&gt; &lt;xsd:complexType name="ArrayOfNotification"&gt; &lt;xsd:sequence&gt; &lt;xsd:element type="tns:Notification" name="Notification" nillable="true" minOccurs="0" maxOccurs="unbounded"/&gt; &lt;/xsd:sequence&gt; &lt;/xsd:complexType&gt; &lt;xsd:element type="tns:ArrayOfNotification" name="ArrayOfNotification" nillable="true"/&gt; &lt;xsd:complexType name="Notification"&gt; &lt;xsd:sequence&gt; &lt;xsd:element type="xsd:string" name="Code" nillable="true"/&gt; &lt;xsd:element type="xsd:string" name="Message" nillable="true"/&gt; &lt;/xsd:sequence&gt; &lt;/xsd:complexType&gt; &lt;xsd:element type="tns:Notification" name="Notification" nillable="true"/&gt; &lt;xsd:complexType name="ArrayOfTrackingResult"&gt; &lt;xsd:sequence&gt; &lt;xsd:element type="tns:TrackingResult" name="TrackingResult" nillable="true" minOccurs="0" maxOccurs="unbounded"/&gt; &lt;/xsd:sequence&gt; &lt;/xsd:complexType&gt; &lt;xsd:element type="tns:ArrayOfTrackingResult" name="ArrayOfTrackingResult" nillable="true"/&gt; &lt;xsd:complexType name="TrackingResult"&gt; &lt;xsd:sequence&gt; &lt;xsd:element type="xsd:string" name="WaybillNumber" nillable="true"/&gt; &lt;xsd:element type="xsd:string" name="UpdateCode" nillable="true"/&gt; &lt;xsd:element type="xsd:string" name="UpdateDescription" nillable="true"/&gt; &lt;xsd:element type="xsd:dateTime" name="UpdateDateTime"/&gt; &lt;xsd:element type="xsd:string" name="UpdateLocation" nillable="true"/&gt; &lt;xsd:element type="xsd:string" name="Comments" nillable="true"/&gt; &lt;xsd:element type="xsd:string" name="ProblemCode" nillable="true"/&gt; &lt;/xsd:sequence&gt; &lt;/xsd:complexType&gt; &lt;xsd:element type="tns:TrackingResult" name="TrackingResult" nillable="true"/&gt; &lt;/xsd:schema&gt; &lt;xsd:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified"&gt; &lt;xsd:complexType name="ArrayOfstring"&gt; &lt;xsd:sequence&gt; &lt;xsd:element type="xsd:string" name="string" nillable="true" minOccurs="0" maxOccurs="unbounded"/&gt; &lt;/xsd:sequence&gt; &lt;/xsd:complexType&gt; &lt;xsd:element type="tns:ArrayOfstring" name="ArrayOfstring" nillable="true"/&gt; &lt;xsd:complexType name="ArrayOfKeyValueOfstringArrayOfTrackingResultmFAkxlpY"&gt; &lt;xsd:annotation&gt; &lt;xsd:appinfo&gt; &lt;IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/"&gt;true&lt;/IsDictionary&gt; &lt;/xsd:appinfo&gt; &lt;/xsd:annotation&gt; &lt;xsd:sequence&gt; &lt;xsd:element name="KeyValueOfstringArrayOfTrackingResultmFAkxlpY" minOccurs="0" maxOccurs="unbounded"&gt; &lt;xsd:complexType&gt; &lt;xsd:sequence&gt; &lt;xsd:element type="xsd:string" name="Key" nillable="true"/&gt; &lt;xsd:element type="q3:ArrayOfTrackingResult" name="Value" nillable="true" xmlns:q3="http://ws.aramex.net/ShippingAPI/v1/"/&gt; &lt;/xsd:sequence&gt; &lt;/xsd:complexType&gt; &lt;/xsd:element&gt; &lt;/xsd:sequence&gt; &lt;/xsd:complexType&gt; &lt;xsd:element type="tns:ArrayOfKeyValueOfstringArrayOfTrackingResultmFAkxlpY" name="ArrayOfKeyValueOfstringArrayOfTrackingResultmFAkxlpY" nillable="true"/&gt; &lt;/xsd:schema&gt; &lt;xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified"&gt; &lt;xs:element type="xs:anyType" name="anyType" nillable="true"/&gt; &lt;xs:element type="xs:anyURI" name="anyURI" nillable="true"/&gt; &lt;xs:element type="xs:base64Binary" name="base64Binary" nillable="true"/&gt; &lt;xs:element type="xs:boolean" name="boolean" nillable="true"/&gt; &lt;xs:element type="xs:byte" name="byte" nillable="true"/&gt; &lt;xs:element type="xs:dateTime" name="dateTime" nillable="true"/&gt; &lt;xs:element type="xs:decimal" name="decimal" nillable="true"/&gt; &lt;xs:element type="xs:double" name="double" nillable="true"/&gt; &lt;xs:element type="xs:float" name="float" nillable="true"/&gt; &lt;xs:element type="xs:int" name="int" nillable="true"/&gt; &lt;xs:element type="xs:long" name="long" nillable="true"/&gt; &lt;xs:element type="xs:QName" name="QName" nillable="true"/&gt; &lt;xs:element type="xs:short" name="short" nillable="true"/&gt; &lt;xs:element type="xs:string" name="string" nillable="true"/&gt; &lt;xs:element type="xs:unsignedByte" name="unsignedByte" nillable="true"/&gt; &lt;xs:element type="xs:unsignedInt" name="unsignedInt" nillable="true"/&gt; &lt;xs:element type="xs:unsignedLong" name="unsignedLong" nillable="true"/&gt; &lt;xs:element type="xs:unsignedShort" name="unsignedShort" nillable="true"/&gt; &lt;xs:element type="tns:char" name="char" nillable="true"/&gt; &lt;xs:simpleType name="char"&gt; &lt;xs:restriction base="xs:int"/&gt; &lt;/xs:simpleType&gt; &lt;xs:element type="tns:duration" name="duration" nillable="true"/&gt; &lt;xs:simpleType name="duration"&gt; &lt;xs:restriction base="xs:duration"&gt; &lt;xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/&gt; &lt;xs:minInclusive value="-P10675199DT2H48M5.4775808S"/&gt; &lt;xs:maxInclusive value="P10675199DT2H48M5.4775807S"/&gt; &lt;/xs:restriction&gt; &lt;/xs:simpleType&gt; &lt;xs:element type="tns:guid" name="guid" nillable="true"/&gt; &lt;xs:simpleType name="guid"&gt; &lt;xs:restriction base="xs:string"&gt; &lt;xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/&gt; &lt;/xs:restriction&gt; &lt;/xs:simpleType&gt; &lt;xs:attribute type="xs:QName" name="FactoryType"/&gt; &lt;xs:attribute type="xs:ID" name="Id"/&gt; &lt;xs:attribute type="xs:IDREF" name="Ref"/&gt; &lt;/xs:schema&gt; &lt;/wsdl:types&gt; &lt;wsdl:message name="ShipmentTrackingRequest"&gt; &lt;wsdl:part name="parameters" element="tns:ShipmentTrackingRequest"/&gt; &lt;/wsdl:message&gt; &lt;wsdl:message name="ShipmentTrackingResponse"&gt; &lt;wsdl:part name="parameters" element="tns:ShipmentTrackingResponse"/&gt; &lt;/wsdl:message&gt; &lt;wsdl:portType name="Service_1_0"&gt; &lt;wsdl:operation name="TrackShipments"&gt; &lt;wsdl:input name="ShipmentTrackingRequest" message="tns:ShipmentTrackingRequest" wsaw:Action="http://ws.aramex.net/ShippingAPI/v1/Service_1_0/TrackShipments"/&gt; &lt;wsdl:output name="ShipmentTrackingResponse" message="tns:ShipmentTrackingResponse" wsaw:Action="http://ws.aramex.net/ShippingAPI/v1/Service_1_0/TrackShipmentsResponse"/&gt; &lt;/wsdl:operation&gt; &lt;/wsdl:portType&gt; &lt;wsdl:service name="Service_1_0"&gt; &lt;wsdl:port name="BasicHttpBinding_Service_1_0" binding="i0:BasicHttpBinding_Service_1_0"&gt; &lt;soap:address location="http://ws.aramex.net/shippingapi/tracking/service_1_0.svc"/&gt; &lt;/wsdl:port&gt; &lt;/wsdl:service&gt; &lt;/wsdl:definitions&gt; </code></pre> <p>i did not change any part of the wsdl file.can someone point me the error in above wsdl?</p> <p>update: anyone has idea?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload