File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes problem in 'generate client' for WSDL in WSAD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "problem in Watch "problem in New topic

problem in 'generate client' for WSDL in WSAD

visshal patel

Joined: Apr 01, 2004
Posts: 8
I am using WSAD 5.1.1 integration edition. When I use WSDL(right click) -> web services -> generate client funtion, it only generates files as follows.

- (interface)
- (interface)

I think some more files, other than these files, should be generated. So that I can use those files to use in my client program. Let me know if anybody has any suggestions. My WSDL file is as follows.

<?xml version="1.0" encoding="UTF-8"?>
<wsdl efinitions targetNamespace="" xmlns:wsdl="" xmlns:tm="" xmlns:tns="" xmlns:soapenc="" xmlns:http="" xmlns:s="" xmlns:soap="" xmlns:mime="">
<s:schema elementFormDefault="qualified" targetNamespace="" xmlns:s="">
<s:element name="SendMail">
<s:element maxOccurs="1" minOccurs="0" name="smessage" type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="ssubject" type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="stoaddress" type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="sfromaddress" type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="sccaddress" type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="sformat" type="s:string"/>
<s:element name="SendMailResponse">
<s:element maxOccurs="1" minOccurs="0" name="SendMailResult" type="s:string"/>
<wsdl:message name="SendMailSoapIn">
<wsdl :p art name="parameters" element="tns:SendMail"/>
<wsdl:message name="SendMailSoapOut">
<wsdl :p art name="parameters" element="tns:SendMailResponse"/>
<wsdl :p ortType name="SMTPMAIL_serviceSoap">
<wsdl peration name="SendMail">
<wsdl:input message="tns:SendMailSoapIn"/>
<wsdl utput message="tns:SendMailSoapOut"/>
</wsdl peration>
</wsdl :p ortType>
<wsdl:binding name="SMTPMAIL_serviceSoap" type="tns:SMTPMAIL_serviceSoap">
<soap:binding style="document" transport=""/>
<wsdl peration name="SendMail">
<soap peration soapAction="" style="document"/>
<soap:body use="literal"/>
<wsdl utput>
<soap:body use="literal"/>
</wsdl utput>
</wsdl peration>
<wsdl:service name="SMTPMAIL_service">
<wsdl :p ort name="SMTPMAIL_serviceSoap" binding="tns:SMTPMAIL_serviceSoap">
<soap:address location="http://localhost:9080/ITTPortal/services/SMTPMAIL_serviceSoap"/>
</wsdl :p ort>
</wsdl efinitions>
[ May 02, 2006: Message edited by: visshal patel ]
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2066
Do you still have this problem? I tried it and it generated other classes too, e.g. the classes for the complex type. I am using wsad 5.1.2 trial edition.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: problem in 'generate client' for WSDL in WSAD
It's not a secret anymore!