This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Error creating client from WSDL with Axis in eclipse IDE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Error creating client from WSDL with Axis in eclipse IDE" Watch "Error creating client from WSDL with Axis in eclipse IDE" New topic
Author

Error creating client from WSDL with Axis in eclipse IDE

Kajal Nanaiah
Greenhorn

Joined: Dec 23, 2012
Posts: 1
IWAB0399E Error in generating Java from WSDL: java.io.IOException: Emitter failure. There is an undefined binding (BasicHttpsBinding_IServiceRequest) in the WSDL document https://devservices.stifel.com/IFS/ServiceRequest.svc?wsdl.
Hint: make sure <port binding=".."> is fully qualified.

java.io.IOException: Emitter failure. There is an undefined binding (BasicHttpsBinding_IServiceRequest) in the WSDL document https://devservices.stifel.com/IFS/ServiceRequest.svc?wsdl.
Hint: make sure <port binding=".."> is fully qualified.
at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:575)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:715)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:734)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:734)
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)


WSDL below

<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions name="ServiceRequest"
targetNamespace="http://Stifel.Services.External.IFS/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:i0="http://tempuri.org/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"
xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://Stifel.Services.External.IFS/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<wsdl:import namespace="http://tempuri.org/"
location="https://devservices.stifel.com/IFS/ServiceRequest.svc?wsdl=wsdl0" />
<wsdl:types>
<xsd:schema targetNamespace="http://Stifel.Services.External.IFS/Imports">
<xsd:import
schemaLocation="https://devservices.stifel.com/IFS/ServiceRequest.svc?xsd=xsd0"
namespace="http://Stifel.Services.External.IFS/" />
<xsd:import
schemaLocation="https://devservices.stifel.com/IFS/ServiceRequest.svc?xsd=xsd1"
namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
<xsd:import
schemaLocation="https://devservices.stifel.com/IFS/ServiceRequest.svc?xsd=xsd2"
namespace="http://www.impact-fs.com" />
<xsd:import
schemaLocation="https://devservices.stifel.com/IFS/ServiceRequest.svc?xsd=xsd3"
namespace="http://schemas.datacontract.org/2004/07/System.Data" />
</xsd:schema>
</wsdl:types>
<wsdl:message name="IServiceRequest_Authenticate_InputMessage">
<wsdl:part name="parameters" element="tns:Authenticate" />
</wsdl:message>
<wsdl:message name="IServiceRequest_Authenticate_OutputMessage">
<wsdl:part name="parameters" element="tns:AuthenticateResponse" />
</wsdl:message>
<wsdl:message name="IServiceRequest_AuthenticateGetUserInfo_InputMessage">
<wsdl:part name="parameters" element="tns:AuthenticateGetUserInfo" />
</wsdl:message>
<wsdl:message name="IServiceRequest_AuthenticateGetUserInfo_OutputMessage">
<wsdl:part name="parameters" element="tns:AuthenticateGetUserInfoResponse" />
</wsdl:message>
<wsdl:message name="IServiceRequest_CreateServiceRequest_InputMessage">
<wsdl:part name="parameters" element="tns:CreateServiceRequest" />
</wsdl:message>
<wsdl:message name="IServiceRequest_CreateServiceRequest_OutputMessage">
<wsdl:part name="parameters" element="tns:CreateServiceRequestResponse" />
</wsdl:message>
<wsdl:message name="IServiceRequest_GetLogFilePartial_InputMessage">
<wsdl:part name="parameters" element="tns:GetLogFilePartial" />
</wsdl:message>
<wsdl:message name="IServiceRequest_GetLogFilePartial_OutputMessage">
<wsdl:part name="parameters" element="tns:GetLogFilePartialResponse" />
</wsdl:message>
<wsdl:message name="IServiceRequest_GetServiceRequest_InputMessage">
<wsdl:part name="parameters" element="tns:GetServiceRequest" />
</wsdl:message>
<wsdl:message name="IServiceRequest_GetServiceRequest_OutputMessage">
<wsdl:part name="parameters" element="tns:GetServiceRequestResponse" />
</wsdl:message>
<wsdl:message
name="IServiceRequest_GetServiceRequestDefinition_InputMessage">
<wsdl:part name="parameters" element="tns:GetServiceRequestDefinition" />
</wsdl:message>
<wsdl:message
name="IServiceRequest_GetServiceRequestDefinition_OutputMessage">
<wsdl:part name="parameters" element="tns:GetServiceRequestDefinitionResponse" />
</wsdl:message>
<wsdl:message name="IServiceRequest_Ping_InputMessage">
<wsdl:part name="parameters" element="tns:Ping" />
</wsdl:message>
<wsdl:message name="IServiceRequest_Ping_OutputMessage">
<wsdl:part name="parameters" element="tns:PingResponse" />
</wsdl:message>
<wsdl:message name="IServiceRequest_SRWorkflowSearch_InputMessage">
<wsdl:part name="parameters" element="tns:SRWorkflowSearch" />
</wsdl:message>
<wsdl:message name="IServiceRequest_SRWorkflowSearch_OutputMessage">
<wsdl:part name="parameters" element="tns:SRWorkflowSearchResponse" />
</wsdl:message>
<wsdl:message name="IServiceRequest_UpdateServiceRequest_InputMessage">
<wsdl:part name="parameters" element="tns:UpdateServiceRequest" />
</wsdl:message>
<wsdl:message name="IServiceRequest_UpdateServiceRequest_OutputMessage">
<wsdl:part name="parameters" element="tns:UpdateServiceRequestResponse" />
</wsdl:message>
<wsdl:portType name="IServiceRequest">
<wsdlperation name="Authenticate">
<wsdl:input
wsaw:Action="http://Stifel.Services.External.IFS/IServiceRequest/Authenticate"
message="tns:IServiceRequest_Authenticate_InputMessage" />
<wsdlutput
wsaw:Action="http://Stifel.Services.External.IFS/IServiceRequest/AuthenticateResponse"
message="tns:IServiceRequest_Authenticate_OutputMessage" />
</wsdlperation>
<wsdlperation name="AuthenticateGetUserInfo">
<wsdl:input
wsaw:Action="http://Stifel.Services.External.IFS/IServiceRequest/AuthenticateGetUserInfo"
message="tns:IServiceRequest_AuthenticateGetUserInfo_InputMessage" />
<wsdlutput
wsaw:Action="http://Stifel.Services.External.IFS/IServiceRequest/AuthenticateGetUserInfoResponse"
message="tns:IServiceRequest_AuthenticateGetUserInfo_OutputMessage" />
</wsdlperation>
<wsdlperation name="CreateServiceRequest">
<wsdl:input
wsaw:Action="http://Stifel.Services.External.IFS/IServiceRequest/CreateServiceRequest"
message="tns:IServiceRequest_CreateServiceRequest_InputMessage" />
<wsdlutput
wsaw:Action="http://Stifel.Services.External.IFS/IServiceRequest/CreateServiceRequestResponse"
message="tns:IServiceRequest_CreateServiceRequest_OutputMessage" />
</wsdlperation>
<wsdlperation name="GetLogFilePartial">
<wsdl:input
wsaw:Action="http://Stifel.Services.External.IFS/IServiceRequest/GetLogFilePartial"
message="tns:IServiceRequest_GetLogFilePartial_InputMessage" />
<wsdlutput
wsaw:Action="http://Stifel.Services.External.IFS/IServiceRequest/GetLogFilePartialResponse"
message="tns:IServiceRequest_GetLogFilePartial_OutputMessage" />
</wsdlperation>
<wsdlperation name="GetServiceRequest">
<wsdl:input
wsaw:Action="http://Stifel.Services.External.IFS/IServiceRequest/GetServiceRequest"
message="tns:IServiceRequest_GetServiceRequest_InputMessage" />
<wsdlutput
wsaw:Action="http://Stifel.Services.External.IFS/IServiceRequest/GetServiceRequestResponse"
message="tns:IServiceRequest_GetServiceRequest_OutputMessage" />
</wsdlperation>
<wsdlperation name="GetServiceRequestDefinition">
<wsdl:input
wsaw:Action="http://Stifel.Services.External.IFS/IServiceRequest/GetServiceRequestDefinition"
message="tns:IServiceRequest_GetServiceRequestDefinition_InputMessage" />
<wsdlutput
wsaw:Action="http://Stifel.Services.External.IFS/IServiceRequest/GetServiceRequestDefinitionResponse"
message="tns:IServiceRequest_GetServiceRequestDefinition_OutputMessage" />
</wsdlperation>
<wsdlperation name="Ping">
<wsdl:input
wsaw:Action="http://Stifel.Services.External.IFS/IServiceRequest/Ping"
message="tns:IServiceRequest_Ping_InputMessage" />
<wsdlutput
wsaw:Action="http://Stifel.Services.External.IFS/IServiceRequest/PingResponse"
message="tns:IServiceRequest_Ping_OutputMessage" />
</wsdlperation>
<wsdlperation name="SRWorkflowSearch">
<wsdl:input
wsaw:Action="http://Stifel.Services.External.IFS/IServiceRequest/SRWorkflowSearch"
message="tns:IServiceRequest_SRWorkflowSearch_InputMessage" />
<wsdlutput
wsaw:Action="http://Stifel.Services.External.IFS/IServiceRequest/SRWorkflowSearchResponse"
message="tns:IServiceRequest_SRWorkflowSearch_OutputMessage" />
</wsdlperation>
<wsdlperation name="UpdateServiceRequest">
<wsdl:input
wsaw:Action="http://Stifel.Services.External.IFS/IServiceRequest/UpdateServiceRequest"
message="tns:IServiceRequest_UpdateServiceRequest_InputMessage" />
<wsdlutput
wsaw:Action="http://Stifel.Services.External.IFS/IServiceRequest/UpdateServiceRequestResponse"
message="tns:IServiceRequest_UpdateServiceRequest_OutputMessage" />
</wsdlperation>
</wsdl:portType>
<wsdl:service name="ServiceRequest">
<wsdl:port name="BasicHttpsBinding_IServiceRequest" binding="i0:BasicHttpsBinding_IServiceRequest">
<soap:address location="https://devservices.stifel.com/IFS/ServiceRequest.svc" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

I was able to generate client with Axis2 (stub has errors) but I need to to use Axis as that's what's supported in production

Thanks
 
jQuery in Action, 2nd edition
 
subject: Error creating client from WSDL with Axis in eclipse IDE
 
Similar Threads
Axis2 Issue, Please Help!
JAX-WS - wsdl with operations or message that have a long parameter list
Issues with CXF WSDL2Java
How to do ???
Need Java Client stubs for given WSDL