• 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 ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

problem in 'generate client' for WSDL in WSAD

 
Greenhorn
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/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/SSSMTPMail/SMTPMAIL_service" xmlns:s="http://www.w3.org/2001/XMLSchema">
<s:element name="SendMail">
<s:complexType>
<s:sequence>
<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:sequence>
</s:complexType>
</s:element>
<s:element name="SendMailResponse">
<s:complexType>
<s:sequence>
<s:element maxOccurs="1" minOccurs="0" name="SendMailResult" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
<wsdl:message name="SendMailSoapIn">
<wsdl :p art name="parameters" element="tns:SendMail"/>
</wsdl:message>
<wsdl:message name="SendMailSoapOut">
<wsdl :p art name="parameters" element="tns:SendMailResponse"/>
</wsdl:message>
<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"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl utput>
<soap:body use="literal"/>
</wsdl utput>
</wsdl peration>
</wsdl:binding>
<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:service>
</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.
reply
    Bookmark Topic Watch Topic
  • New Topic