• Post Reply Bookmark Topic Watch Topic
  • New Topic

Client stubs incorrect from wsdl using Axis

 
Ram N Sharma
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I ma not able to get the correct signature in the methods within the client stub generated by using wsdl2java. Can someone check the wsdl and tell me if they are getting a different result? Thanks.

Notably the operation named "compose" is cerated without an input parameter:
------Start WSDL ---

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:exst="urn:exstream-services"
targetNamespace="urn:exstream-services">
<types>
<xsd:schema>
<xsd:element name="PreviewRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="PubFile" type="xsd:string"
maxOccurs="1" minOccurs="1" />
<xsd:element name="Driver">
<xsd:complexType>
<xsd:sequence>
<xsd:any namespace="##local"
processContents="skip" maxOccurs="unbounded" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="filename"
type="xsd:string" use="optional" default="INPUT" />
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="includeheader"
type="xsd:boolean" use="optional" default="false" />
</xsd:complexType>
</xsd:element>
<xsd:element name="PreviewResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="PreviewHeaders">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Version"
type="xsd:integer" maxOccurs="1" minOccurs="0" />
<xsd:element name="PDL"
type="xsd:integer" maxOccurs="1" minOccurs="0" />
<xsd:element name="OutputLength"
type="xsd:integer" maxOccurs="1" minOccurs="0" />
<xsd:element name="MessageLength"
type="xsd:integer" maxOccurs="1" minOccurs="0" />
<xsd:element name="UserDataLength"
type="xsd:integer" maxOccurs="1" minOccurs="0" />
<xsd:element name="PageCount"
type="xsd:integer" maxOccurs="1" minOccurs="0" />
<xsd:element name="ReturnCode"
type="xsd:integer" maxOccurs="1" minOccurs="0" />
<xsd:element name="FileType"
type="xsd:string" maxOccurs="1" minOccurs="0" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
<message name="getPreviewRequest">
<part name="Document" element="exst reviewRequest" />
</message>
<message name="getPreviewResponse">
<part name="Document" element="exst reviewResponse" />
<part name="Content" type="xsd:base64Binary" />
</message>
<portType name="PreviewReportPortType">
<operation name="compose">
<input name="PreviewRequest"
message="exst:getPreviewRequest" />
<output name="PreviewResponse"
message="exst:getPreviewResponse" />
</operation>
</portType>
<binding name="PreviewReportBinding"
type="exst reviewReportPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
<operation name="compose">
<soap peration soapAction="urn:exstream-services" />
<input>
<soap:body use="literal" />
</input>
<output>
<mime:multipartRelated>
<mime art>
<soap:body use="literal" />
</mime art>
<mime art>
<mime:content part="Content" type="text/binary" />
</mime art>
</mime:multipartRelated>
</output>
</operation>
</binding>
<service name="EngineService">
<port name="EngineServicePort"
binding="exst reviewReportBinding">
<soap:address
location="http://cairvappd15:9080/exstream/services/EngineService" />
</port>
</service>
</definitions>

--- End WSDL ----
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!