thanks

Srikant

Paramdeep Singh wrote:
0ca101c1da07$95167df0$[EMAIL PROTECTED]">
Hi Ramaswamy,

The namespaces in the WSDL seem to be all screwed up!
I have cleaned them up!

Am attaching the WSDL, that I have modified.
It works for me!

Hope that it helps.

Warm Regards,
Paramdeep

----- Original Message -----
From: "Ramaswamy Srikant" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 02, 2002 8:00 AM
Subject: WSDL problem


I am trying to generate the stubs for the following wsdl file.

I get the following error

java.io.IOException: Emitter failure. There is an undefined binding
(ServiceSOAPBinding) in the WSDL document.
Hint: make sure <port binding=".."> is fully qualified.
at
org.apache.axis.wsdl.toJava.SymbolTable.checkForUndefined(Unknown
Source)
at org.apache.axis.wsdl.toJava.SymbolTable.add(Unknown Source)
at org.apache.axis.wsdl.toJava.Emitter.emit(Unknown Source)
at org.apache.axis.wsdl.toJava.Emitter.emit(Unknown Source)
at org.apache.axis.wsdl.WSDL2Java$WSDLRunnable.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:484)
---------
The value of binding attribute is fully qualified. Can someone take a
look let me know what is wrong with the WSDL

thanks





----------------------------------------------------------------------------
----


<?xml version="1.0" ?>
<definitions name="urn:servicehandler"
targetNamespace="urn:servicehandler-ns"
xmlns:tns="http://lc.svchandler"
xmlns:xsd="http://www/w3/org/1999/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://schemas.xmlsoap.org/wsdl/">

<types>
<xsd:schema targetNamespace="urn:servicehandler-ns"
xmlns:xsd="http://www/w3/org/1999/XMLSchema">
<xsd:complexType name="NewService">
<xsd:all>
<xsd:element name="serviceID" type="xsd:str! ing"/>
<xsd:element name="svcDescription" type="xsd:string"/>
<xsd:element name="itemType" type="xsd:string"/>
<xsd:element name="deviceRelated" type="xsd:int" />
<xsd:element name="timeToRepair" type="xsd:int" />
<xsd:element name="timeToInitiate" type="xsd:int"/>
<xsd:element name="timeToNotify" type="xsd:int" />
<xsd:element name="csaLevel" type="xsd:int" nillable="false"/>
<xsd:element name="minThreshold" type="xsd:int" nillable="true"/>
<xsd:element name="usage" type="xsd:string"/>
<xsd:element name="allowOverUsage" type="xsd:int"/>
<xsd:element name="unitsPrepaid" type="xsd:int"/>
<xsd:element name="timeOfCreation" type="xsd:dateTime"/>
<xsd:element name="transactionId" type="xsd:string"/>
<xsd:element name="unitOfMeasure" type="xsd:string"/>
<xsd:element name="deviceModels" type="xsd:string"/>
&l! t;xsd:element name="operationFlag" type="xsd:string"/>
</xsd:all>
</xsd:complexType>
</xsd:schema>
</types>

<message name="NewServiceCreateRequest">
<part name="newSvc" type="tns:NewService"/>
</message>


<portType name="ServiceCreation">
<operation name="createService">
<input message="tns:NewServiceCreateRequest"/>
<output/>
</operation>
</portType>

<binding name="ServiceSOAPBinding" type="tns:ServiceCreation">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
  <operation name="createService">
<soap:operation soapAction=""/>
<input>
<soap:body use="encoded"
namespace="urn:servicehandler-ns"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output/>
</operation>
</binding>
<service name="CreateService">
<port name="ServiceCreation" binding="tns:ServiceSOAPBinding">
<soap:address
location="http://remedy-qa.itdev:8080/axis/servlet/AxisServlet"/>
</port>
</service>
</definitions>


arbit.wsdl
Content-Type:
application/octet-stream
Content-Encoding:
quoted-printable




Reply via email to