Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Problem with WSDL publishing

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using jwsdp for webservices. I obtain a wsdl file on running ant xrpcc-server command. I copy this file in build/WEB-INF folder and and a property wsdl.location=/WEB-INF/TestService1.wsdl in file.
After Deploying the war file on WebLogic server, when i hit the url ... ?WSDL on the web browser (IE 6.0), it throws me an error -- reference to undeclared namespace 'wsdl' pointing towards
wsdl:arrayType = anyType[]
However, this error goes away if i interchange the positions of two schema tags in my types tag in wsdl file.
This looks strange since xml is not sequence dependent.
I tested the same on two other installations with the same version of jwsdp, but there the sequence comes out to be the same as required (opposite to mine) and hence the file gets published on hitting the url ... ?WSDL
Please help.
Here is my wsdl file...
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="TestService1" targetNamespace="" xmlns:tns="" xmlns="" xmlns:soap="" xmlns:ns2="" xmlns:xsd="">
<schema targetNamespace="" xmlns:xsi="" xmlns:ns2="" xmlns:tns="" xmlns:soap-enc="" xmlns:wsdl="" xmlns="">
<import namespace=""/>
<import namespace=""/>
<complexType name="WorkflowSerial">
<element name="opFlag" type="string"/>
<element name="actions" type="ns2:vector"/>
<element name="busObjTypeId" type="long"/>
<element name="status" type="long"/>
<element name="states" type="ns2:vector"/>
<element name="roleUsers" type="ns2:vector"/>
<element name="lockedBy" type="string"/></sequence></complexType>
<complexType name="WFException">
<extension base="tns:UserException">
<element name="messages" type="string"/></sequence></extension></complexContent></complexType>
<complexType name="UserException">
<element name="maxSeverity" type="int"/>
<element name="errors" type="ns2:collection"/>
<element name="data" type="anyType"/>
<element name="message" type="string"/>
<element name="localizedMessage" type="string"/></sequence></complexType></schema>
<schema targetNamespace="" xmlns:xsi="" xmlns:tns="" xmlns:soap-enc="" xmlns:wsdl="" xmlns="">
<import namespace=""/>
<import namespace=""/>
<complexType name="vector">
<extension base="tns:list">
<complexType name="list">
<extension base="tns:collection">
<complexType name="collection">
<restriction base="soap-enc:Array">
<attribute ref="soap-enc:arrayType" wsdl:arrayType="anyType[]"/></restriction></complexContent></complexType></schema></types>
<message name="WorkFlowManagerIF_init"/>
<message name="WorkFlowManagerIF_initResponse"/>
<message name="WorkFlowManagerIF_wfGetDetailInstActionsOnly">
<part name="long_1" type="xsd:long"/>
<part name="String_2" type="xsd:string"/></message>
<message name="WorkFlowManagerIF_wfGetDetailInstActionsOnlyResponse">
<part name="result" type="ns2:WorkflowSerial"/></message>
<message name="WFException">
<part name="WFException" type="ns2:WFException"/></message>
<portType name="WorkFlowManagerIF">
<operation name="init" parameterOrder="">
<input message="tns:WorkFlowManagerIF_init"/>
<output message="tns:WorkFlowManagerIF_initResponse"/></operation>
<operation name="wfGetDetailInstActionsOnly" parameterOrder="long_1 String_2">
<input message="tns:WorkFlowManagerIF_wfGetDetailInstActionsOnly"/>
<output message="tns:WorkFlowManagerIF_wfGetDetailInstActionsOnlyResponse"/>
<fault name="WFException" message="tns:WFException"/></operation></portType>
<binding name="WorkFlowManagerIFBinding" type="tns:WorkFlowManagerIF">
<operation name="init">
<soap:body encodingStyle="" use="encoded" namespace=""/></input>
<soap:body encodingStyle="" use="encoded" namespace=""/></output>
<soap peration soapAction=""/></operation>
<operation name="wfGetDetailInstActionsOnly">
<soap:body encodingStyle="" use="encoded" namespace=""/></input>
<soap:body encodingStyle="" use="encoded" namespace=""/></output>
<fault name="WFException">
<soap:fault encodingStyle="" use="encoded" namespace=""/></fault>
<soap peration soapAction=""/></operation>
<soap:binding transport="" style="rpc"/></binding>
<service name="TestService1">
<port name="WorkFlowManagerIFPort" binding="tns:WorkFlowManagerIFBinding">
<soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>
    Bookmark Topic Watch Topic
  • New Topic