axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Hawkins <HAWKI...@uk.ibm.com>
Subject Fw: [jira] Commented: (AXIS-1478) WSDL2Java
Date Tue, 28 Sep 2004 14:06:22 GMT




copied to user group in case they are  not a developer :-)

John Hawkins


----- Forwarded by John Hawkins/UK/IBM on 28/09/2004 15:05 -----
                                                                           
             axis-dev@ws.apach                                             
             e.org                                                         
                                                                        To 
             28/09/2004 14:51          axis-dev@ws.apache.org              
                                                                        cc 
                                                                           
             Please respond to                                     Subject 
                 axis-dev              [jira] Commented: (AXIS-1478)       
                                       WSDL2Java                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




The following comment has been added to this issue:

     Author: Jayachandra Sekhara Rao Sunkara
    Created: Tue, 28 Sep 2004 6:50 AM
       Body:
Hey Abiola Aiku!
could you please inform me, if the wsdl you used was something that axis
generated with '?wsdl'. I'm trying to look into such kind of issues and
possibly patch them up. Help me out, by providing this info.

Thanks
jayachandra
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1478?page=comments#action_53459

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1478

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1478
    Summary: WSDL2Java
       Type: Task

     Status: Unassigned
   Priority: Critical

    Project: Axis
 Components:
             WSDL processing

   Assignee:
   Reporter: Abiola Aiku

    Created: Mon, 26 Jul 2004 6:25 AM
    Updated: Tue, 28 Sep 2004 6:50 AM

Description:
I get the error below when trying to generate the necessary java classes
from the wsdl file below.

java.io.IOException: Element
{http://localhost:8080/axis/sitemap/map.wsdl}string is referenced but not
defined.


<?xml version="1.0" encoding="UTF-8"?>
<definitions name="MapService" targetNamespace="
http://localhost:8080/axis/sitemap/map.wsdl"
              xmlns:tns="http://localhost:8080/axis/sitemap/map.wsdl"
              xmlns:s="http://www.w3.org/2001/XMLSchema"
              xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
              xmlns="http://schemas.xmlsoap.org/wsdl/"
              xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
              xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
              xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/">
<types>
    <s:schema elementFormDefault="qualified" targetNamespace="
http://localhost:8080/axis/sitemap/map.wsdl">
      <s:element name="getMap">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="url"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="depth"
type="s:int" />
            <s:element minOccurs="0" maxOccurs="1" name="url" type="s:int"
/>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="getMapResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="getMapResult"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
     </s:schema>
  </types>
<message name="getMapSoapIn">
<part name="parameters" element="tns:getMap"/>
</message>
<message name="getMapSoapOut">
<part name="result" element="tns:getMapResponse"/>
</message>
<message name="getMapHttpGetIn">
    <part name="url" type="s:string" />
    <part name="depth" type="s:int" />
    <part name="breadth" type="s:int" />
</message>
<message name="getMapHttpGetOut">
    <part name="Body" element="tns:string" />
</message>
<message name="getMapHttpPostIn">
    <part name="url" type="s:string" />
    <part name="depth" type="s:int" />
    <part name="breadth" type="s:int" />
</message>
<message name="getMapHttpPostOut">
    <part name="Body" element="tns:string" />
</message>
<portType name="mapSoap">
<operation name="getMap">
<input message="tns:getMapSoapIn"/>
<output message="tns:getMapSoapOut"/>
</operation>
</portType>
<portType name="mapHttpGet">
<operation name="getMap">
<input message="tns:getMapHttpGetIn"/>
<output message="tns:getMapHttpGetOut"/>
</operation>
</portType>
<portType name="mapHttpPost">
<operation name="getMap">
<input message="tns:getMapHttpPostIn"/>
<output message="tns:getMapHttpPostOut"/>
</operation>
</portType>
<binding name="mapSoap" type="tns:mapSoap">
<operation name="getMap">
<input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
use="encoded" namespace="http://localhost:8080/axis/sitemap/map.wsdl"/>
</input>
<output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
use="encoded" namespace="http://localhost:8080/axis/sitemap/map.wsdl"/>
</output>
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="rpc"/>
</operation>
</binding>
<binding name="mapHttpGet" type="tns:mapHttpGet">
<http:binding verb="GET" />
<operation name="getMap">
<http:operation location="/getMap" />
      <input>
        <http:urlEncoded />
      </input>
      <output>
        <mime:mimeXml part="Body" />
      </output>
    </operation>
</binding>
<binding name="mapHttpPost" type="tns:mapHttpPost">
<http:binding verb="POST" />
<operation name="getMap">
<http:operation location="/getMap" />
      <input>
        <mime:content type="application/x-www-form-urlencoded" />
      </input>
      <output>
        <mime:mimeXml part="Body" />
      </output>
    </operation>
</binding>
<service name="map">
<port name="mapSoap" binding="tns:mapSoap">
<soap:address location="http://localhost:8080/map.asmx"/>
</port>
<port name="mapHttpGet" binding="tns:mapHttpGet">
      <http:address location="http://localhost:8080/map.asmx"/>
    </port>
    <port name="mapHttpPost" binding="tns:mapHttpPost">
      <http:address location="http://localhost:8080/map.asmx"/>
    </port>
</service>
</definitions>

Any suggestions on what the problem is?


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



Mime
View raw message