• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

problem in 'generate client' for WSDL in WSAD

Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

- smtpmail_service.java (interface)
- smtpmail_servicelocator.java
- smtpmail_servicesoap.java (interface)
- smtpmail_servicesoapproxy.java
- smtpmail_servicesoapstub.java

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="http://tempuri.org/SSSMTPMail/SMTPMAIL_service" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:tns="http://tempuri.org/SSSMTPMail/SMTPMAIL_service" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/">
<s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/SSSMTPMail/SMTPMAIL_service" xmlns:s="http://www.w3.org/2001/XMLSchema">
<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="http://schemas.xmlsoap.org/soap/http"/>
<wsdl peration name="SendMail">
<soap peration soapAction="http://tempuri.org/SSSMTPMail/SMTPMAIL_service/SendMail" 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 ]
Ranch Hand
Posts: 2108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
    Bookmark Topic Watch Topic
  • New Topic