axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Terance Dias <terance_d...@yahoo.com>
Subject Re: How to reflect changes made in wsdl
Date Tue, 01 Mar 2005 15:45:49 GMT
Hi,
     I have a wsdl that looks something like this:
 

<?xml version="1.0" encoding="UTF-8"?>

<wsdl:definitions targetNamespace="http://service" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:intf="http://service" xmlns:impl="http://service">

<wsdl:types>

<schema elementFormDefault="qualified" targetNamespace="http://service" xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:impl="http://service" xmlns:intf="http://service" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<element name="calcuateSum">

<complexType>

<sequence>

<element name="a" type="xsd:int"/>

<element name="b" type="xsd:int"/>

</sequence>

</complexType>

</element>

<element name="calcuateSumResponse">

<complexType>

<sequence>

<element name="calcuateSumReturn" type="xsd:int"/>

</sequence>

</complexType>

</element>

<element name="terry" type="xsd:string"/>

</schema>

</wsdl:types>

<wsdl:message name="calcuateSumResponse">

<wsdl:part name="parameters" element="intf:calcuateSumResponse"/>

</wsdl:message>

<wsdl:message name="calcuateSumRequest">

<wsdl:part name="parameters" element="intf:calcuateSum"/>

<wsdl:part name="userName" element="intf:terry"/>

</wsdl:message>

<wsdl:portType name="Sum">

<wsdl:operation name="calcuateSum">

<wsdl:input name="calcuateSumRequest" message="intf:calcuateSumRequest"/>

<wsdl:output name="calcuateSumResponse" message="intf:calcuateSumResponse"/>

</wsdl:operation>

</wsdl:portType>

<wsdl:binding name="SumSoapBinding" type="intf:Sum">

<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="calcuateSum">

<wsdlsoap:operation soapAction=""/>

<wsdl:input name="calcuateSumRequest">

<wsdlsoap:header message="intf:calcuateSumRequest" part="userName" use="literal">

</wsdlsoap:header>

<wsdlsoap:body parts="parameters" use="literal"/>

</wsdl:input>

<wsdl:output name="calcuateSumResponse">

<wsdlsoap:body use="literal"/>

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="SumService">

<wsdl:port name="Sum" binding="intf:SumSoapBinding">

<wsdlsoap:address location="http://localhost:9080/HeaderManipulation/services/Sum"/>

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

The server console shows an error saying that

[3/1/05 20:43:56:952 IST] 3d6b06b3 SystemErr R WSWS3155E: Error: a not found as an input part
OR an output part.

[3/1/05 20:43:56:952 IST] 3d6b06b3 SystemErr R WSWS3155E: Error: b not found as an input part
OR an output part.

[3/1/05 20:43:57:031 IST] 3d6b06b3 WSDDPort E com.ibm.ws.webservices.engine.deployment.wsdd.WSDDPort
WSWS3351E: Error: Unable to deploy typemapping: {http://service}>calcuateSum

[3/1/05 20:43:57:062 IST] 3d6b06b3 WSDDPort E com.ibm.ws.webservices.engine.deployment.wsdd.WSDDPort
TRAS0014I: The following exception was logged java.lang.ClassNotFoundException: service.CalcuateSum.

 

Please suggest how I should change my wsdl to fix this problem

 


babloosony <babloosony@gmail.com> wrote:
wsdl is for ur client. u dont need to do anything in wsdl to redeploy
ur service. just redeploy ur service may be by generating new skeleton
and stubs.


On Tue, 1 Mar 2005 06:18:18 -0800 (PST), Terance Dias
wrote:
> Hi,
> I'm using WSAD5.1.2 and deploying a simple service using IBM websphere
> v5 runtime. After the wsdl is generated, if I make changes in it, how can I
> get the service to reflect it?
> Any help will be appreciated
> Terance.
> 
> ________________________________
> Do you Yahoo!?
> Yahoo! Mail - Easier than ever with enhanced search. Learn more. 
> 
>

		
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - Find what you need with new enhanced search. Learn more.
Mime
View raw message