Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 77315 invoked from network); 13 Jul 2005 10:33:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jul 2005 10:33:11 -0000 Received: (qmail 44452 invoked by uid 500); 13 Jul 2005 10:33:10 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 44432 invoked by uid 500); 13 Jul 2005 10:33:10 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 44403 invoked by uid 99); 13 Jul 2005 10:33:10 -0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=HTML_MESSAGE,PLING_PLING,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [12.40.51.197] (HELO mailhost.virtusa.com) (12.40.51.197) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 03:32:57 -0700 Received: from cs-mailsvr.Virtusa.com ([10.2.1.11]unverified) by mailhost.virtusa.com with InterScan Messaging Security Suite; Wed, 13 Jul 2005 06:30:35 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C58796.2D8963B0" Subject: RE: help!!! about wsdl file for axis C tool Date: Wed, 13 Jul 2005 16:31:54 +0600 Message-ID: <403DD48EAE182940B89ECEAFE03F969005FE6937@cs-mailsvr.Virtusa.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: help!!! about wsdl file for axis C tool Thread-Index: AcWHlaeAIzFhiw7MQ7C6ohwsfuN40QAAFsqg From: "Samisa Abeysinghe" To: "Apache AXIS C Developers List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C58796.2D8963B0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Well we mostly fixed the client side. Seems to be that the bug is still around for the server side. =20 Samisa... =20 -----Original Message----- From: John Hawkins [mailto:HAWKINSJ@uk.ibm.com]=20 Sent: Wednesday, July 13, 2005 4:27 PM To: Apache AXIS C Developers List Subject: Re: help!!! about wsdl file for axis C tool =20 We had lots of these sorts of problems when we upgraded Axis Java ages ago - it looks like you might have found another one :-(=20 Can you raise a JIRA and we'll try to clean this up.=20 Jianhua Jiang =20 13/07/2005 09:41=20 Please respond to "Apache AXIS C Developers List" To axis-c-dev@ws.apache.org=20 cc =20 Subject help!!! about wsdl file for axis C tool =20 =20 =20 Hi, everyone,=20 When I compile my wsdl file and encounter these problems below:=20 =20 root@server /]# java org.apache.axis.wsdl.wsdl2ws.WSDL2Ws simple.wsdl -lc++ -sserver log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle). log4j:WARN Please initialize the log4j system properly. org.apache.axis.wsdl.wsdl2ws.WrapperFault: unregistered type {http://www.test.com/test/simple}>PingRequest referred at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.addDocumentStyleInputMessageToMetho dInfo(WSDL2Ws.java:509) at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.setMethodInfo(WSDL2Ws.java:232) at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceInfo(WSDL2Ws.java:213) at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(WSDL2Ws.java:650) at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(WSDL2Ws.java:1139) Code generation failed. Please see errors above.=20 =20 My wsdl file is:=20 //content of simple.wsdl=20 =20 =20 =20 Thanks for your reading,and expect your reply.=20 =20 Best Wishes for you=20 =20 jiang jianhua=20 _____ =20 Start your = day with Yahoo! - make it your home page=20 ------_=_NextPart_001_01C58796.2D8963B0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Well we mostly fixed the client = side. Seems to be that the bug is still around for the server = side.

 

Samisa…

 

-----Original = Message-----
From: John Hawkins [mailto:HAWKINSJ@uk.ibm.com]
Sent: Wednesday, July 13, = 2005 4:27 PM
To: Apache AXIS C = Developers List
Subject: Re: help!!! = about wsdl file for axis C tool

 


We had lots of these sorts of problems when we = upgraded Axis Java ages ago - it looks like you might have found another one :-( =
Can you raise a JIRA and we'll try to clean this up.



Jianhua Jiang <jianhua_jiang1980@yahoo.com> =

13/07/2005 09:41

Please respond to
"Apache AXIS C Developers = List"

To

axis-c-dev@ws.apache.org =

cc

 

Subject

help!!! about wsdl file for axis C = tool

 

 

 




Hi, everyone,
       When I compile my wsdl file and encounter = these problems below:
 
root@server /]# java org.apache.axis.wsdl.wsdl2ws.WSDL2Ws simple.wsdl = -lc++ -sserver
log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system properly.
org.apache.axis.wsdl.wsdl2ws.WrapperFault: unregistered type {http://www.test.com/test/simple}>PingRequest referred
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.addDocumentStyleInputMessageToMethod= Info(WSDL2Ws.java:509)
at = org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.setMethodInfo(WSDL2Ws.java:232)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceInfo(WSDL2Ws.java:213) = at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(WSDL2Ws.java:650) at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(WSDL2Ws.java:1139)

Code generation failed. Please see errors above.
 
        My wsdl file is:
//content of simple.wsdl
 
<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<wsdl:definitions xmlns=3D"http://schemas.xmlsoap.org/wsdl= /"
   xmlns:soap=3D"http://schemas.xmlsoap.org= /wsdl/soap/"
   xmlns:wsdl=3D"http://schemas.xmlsoap.org/wsdl= /"
   xmlns:xsd=3D"http://www.w3.org/2001/XMLSchem= a"
   xmlns:tns=3D"http://www.test.com/test/simple<= /a>"
   targetNamespace=3D"
http://www.test.com/test/simple<= /a>"    
   >
   <wsdl:types>
       <xsd:schema targetNamespace=3D"
http://www.test.com/test/simple<= /a>"
           elementFormDefault=3D"qualified">     =        
           <xsd:element = name=3D"PingRequest">
              =  <xsd:complexType>
                   <xsd:sequence>
                    =    <xsd:element name=3D"inparam" = type=3D"xsd:string"/>
                   </xsd:sequence>
              =  </xsd:complexType>
           </xsd:element>
           <xsd:element name=3D"PingResponse">
              =  <xsd:complexType>
                   <xsd:sequence>
                    =    <xsd:element name=3D"outparam" type=3D"xsd:string"/>
                   </xsd:sequence>
              =  </xsd:complexType>
           </xsd:element>
       </xsd:schema>
   </wsdl:types>
   <wsdl:message = name=3D"PingRequestMessage">
       <wsdl:part = element=3D"tns:PingRequest" name=3D"PingRequest"/>
   </wsdl:message>
   <wsdl:message = name=3D"PingResponseMessage">
       <wsdl:part = element=3D"tns:PingResponse" name=3D"PingResponse"/>
   </wsdl:message>
   <wsdl:portType name=3D"TestPortType">
       <wsdl:operation = name=3D"Ping">
           <wsdl:input message=3D"tns:PingRequestMessage"/>
           <wsdl:output message=3D"tns:PingResponseMessage"/>
       </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name=3D"TestBinding" type=3D"tns:TestPortType">
       <wsdl:operation = name=3D"Ping">
           <soap:operation = soapAction=3D"
http://www.test.com/test/ping&= quot; style=3D"document"/>
           <wsdl:input>
               <soap:body parts=3D"PingRequest" use=3D"literal"/>
           </wsdl:input>
           <wsdl:output>
               <soap:body parts=3D"PingResponse" use=3D"literal"/>
           </wsdl:output>
       </wsdl:operation>
   </wsdl:binding>
   <wsdl:service name=3D"TestService">
       <wsdl:port = binding=3D"tns:TestBinding" name=3D"TestPort">
           <soap:address = location=3D"http://localhost:8008"/>
       </wsdl:port>
   </wsdl:service>    
</wsdl:definitions>

Thanks for your reading,and expect your reply.
 
Best Wishes for you
 
jiang jianhua


Sta= rt your day with Yahoo! - make it your home page =

------_=_NextPart_001_01C58796.2D8963B0--