Forums Register Login

Client stubs incorrect from wsdl using Axis

+Pie Number of slices to send: Send
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 ----
knowledge is the difference between drudgery and strategic action -- tiny ad
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1422 times.
Similar Threads
Error on Axis 1,4 on invoking a web service
How to access byte array web method
Web Service message level Encryption Decryption through public and private key
Cannot create service instance, service 'x' not found in wsdl
WSDL generation in Axis - item is referenced but not defined
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 02:35:17.