| Author |
problem in 'generate client' for WSDL in WSAD
|
visshal patel
Greenhorn
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. - 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 ]
|
 |
Jesus Angeles
Ranch Hand
Joined: Feb 26, 2005
Posts: 2036
|
|
|
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.
|
 |
 |
|
|
subject: problem in 'generate client' for WSDL in WSAD
|
|
|