You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ji...@apache.org on 2004/04/01 16:30:44 UTC

[jira] Created: (AXIS-1277) WSDL2Java adds some unwanted characters in produced files

Message:

  A new issue has been created in JIRA.

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1277
    Summary: WSDL2Java adds some unwanted characters in produced files
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis
 Components: 
             WSDL processing
   Versions:
             1.1
             1.2 Beta

   Assignee: 
   Reporter: Dario Di Minno

    Created: Thu, 1 Apr 2004 6:30 AM
    Updated: Thu, 1 Apr 2004 6:30 AM
Environment: win2000, tomcat4.1, jdk1.4.2_02

Description:
WSDL2Java places some ">" characters in the produced files, that give problems at runtime, so everytime I have to do a "clean up" of the files. 

Below I show you where I find these characters (in the use of QName(...) and in deploy.wsdd):

In ...BindingStub.java:
qName = new javax.xml.namespace.QName("...", ">importRequest");

In beans:
typeDesc.setXmlType(new javax.xml.namespace.QName("...", ">importRequest"));

In deploy.wsdd, in the parameter "type" of the element "parameter" in "operation":

<operation ...>
       <parameter qname="..." xmlns:pns="..." type="tns:>importRequest" xmlns:tns="..." />
       ...
</operation> 

These characters give problems at runtime, infact axis can't generate
the wsdl at the url http://...?wsdl

I get the following error instead:

AXIS error

Sorry, something seems to have gone wrong... here are the details:

Fault - makeTypeElement() was told to create a type
"{http://rmv3.abd.it/schemas/services/importservice}>importRequest", with no containing element

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode: 
 faultString: makeTypeElement() was told to create a type
"{http://rmv3.abd.it/schemas/services/importservice}>importRequest", with no containing element
 faultActor: 
 faultNode: 
 faultDetail: 


Attached you find the wsdl file and an imported xsd schema.



---------------------------------------------------------------------
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


[jira] Updated: (AXIS-1277) WSDL2Java adds some unwanted characters in produced files

Posted by ji...@apache.org.
The following issue has been updated:

    Updater: Dario Di Minno (mailto:dariodiminno@yahoo.it)
       Date: Thu, 1 Apr 2004 6:34 AM
    Comment:
my input file for WSDL2Java
    Changes:
             Attachment changed to RMImportService.wsdl
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/AXIS-1277?page=history

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1277
    Summary: WSDL2Java adds some unwanted characters in produced files
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis
 Components: 
             WSDL processing
   Versions:
             1.1
             1.2 Beta

   Assignee: 
   Reporter: Dario Di Minno

    Created: Thu, 1 Apr 2004 6:30 AM
    Updated: Thu, 1 Apr 2004 6:34 AM
Environment: win2000, tomcat4.1, jdk1.4.2_02

Description:
WSDL2Java places some ">" characters in the produced files, that give problems at runtime, so everytime I have to do a "clean up" of the files. 

Below I show you where I find these characters (in the use of QName(...) and in deploy.wsdd):

In ...BindingStub.java:
qName = new javax.xml.namespace.QName("...", ">importRequest");

In beans:
typeDesc.setXmlType(new javax.xml.namespace.QName("...", ">importRequest"));

In deploy.wsdd, in the parameter "type" of the element "parameter" in "operation":

<operation ...>
       <parameter qname="..." xmlns:pns="..." type="tns:>importRequest" xmlns:tns="..." />
       ...
</operation> 

These characters give problems at runtime, infact axis can't generate
the wsdl at the url http://...?wsdl

I get the following error instead:

AXIS error

Sorry, something seems to have gone wrong... here are the details:

Fault - makeTypeElement() was told to create a type
"{http://rmv3.abd.it/schemas/services/importservice}>importRequest", with no containing element

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode: 
 faultString: makeTypeElement() was told to create a type
"{http://rmv3.abd.it/schemas/services/importservice}>importRequest", with no containing element
 faultActor: 
 faultNode: 
 faultDetail: 


Attached you find the wsdl file and an imported xsd schema.



---------------------------------------------------------------------
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


[jira] Updated: (AXIS-1277) WSDL2Java adds some unwanted characters in produced files

Posted by ji...@apache.org.
The following issue has been updated:

    Updater: Dario Di Minno (mailto:dariodiminno@yahoo.it)
       Date: Thu, 1 Apr 2004 6:35 AM
    Comment:
the schema imported in the wsdl
    Changes:
             Attachment changed to RMImport.xsd
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/AXIS-1277?page=history

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1277
    Summary: WSDL2Java adds some unwanted characters in produced files
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis
 Components: 
             WSDL processing
   Versions:
             1.1
             1.2 Beta

   Assignee: 
   Reporter: Dario Di Minno

    Created: Thu, 1 Apr 2004 6:30 AM
    Updated: Thu, 1 Apr 2004 6:35 AM
Environment: win2000, tomcat4.1, jdk1.4.2_02

Description:
WSDL2Java places some ">" characters in the produced files, that give problems at runtime, so everytime I have to do a "clean up" of the files. 

Below I show you where I find these characters (in the use of QName(...) and in deploy.wsdd):

In ...BindingStub.java:
qName = new javax.xml.namespace.QName("...", ">importRequest");

In beans:
typeDesc.setXmlType(new javax.xml.namespace.QName("...", ">importRequest"));

In deploy.wsdd, in the parameter "type" of the element "parameter" in "operation":

<operation ...>
       <parameter qname="..." xmlns:pns="..." type="tns:>importRequest" xmlns:tns="..." />
       ...
</operation> 

These characters give problems at runtime, infact axis can't generate
the wsdl at the url http://...?wsdl

I get the following error instead:

AXIS error

Sorry, something seems to have gone wrong... here are the details:

Fault - makeTypeElement() was told to create a type
"{http://rmv3.abd.it/schemas/services/importservice}>importRequest", with no containing element

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode: 
 faultString: makeTypeElement() was told to create a type
"{http://rmv3.abd.it/schemas/services/importservice}>importRequest", with no containing element
 faultActor: 
 faultNode: 
 faultDetail: 


Attached you find the wsdl file and an imported xsd schema.



---------------------------------------------------------------------
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


[jira] Resolved: (AXIS-1277) WSDL2Java adds some unwanted characters in produced files

Posted by ji...@apache.org.
Message:

   The following issue has been resolved as CANNOT REPRODUCE.

   Resolver: Glen Daniels
       Date: Thu, 1 Apr 2004 9:06 AM

Hm - this works fine for me with the current CVS source.  When I access http://localhost:8080/axis/services/RMImportSOAPPort?wsdl, I get the following:

- <wsdl:definitions targetNamespace="http://rmv3.abd.it/schemas/services/importservice/wsdl" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://rmv3.abd.it/schemas/services/importservice/wsdl" xmlns:intf="http://rmv3.abd.it/schemas/services/importservice/wsdl" xmlns:tns1="http://rmv3.abd.it/schemas/services/importservice" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <!-- 
WSDL created by Apache Axis version: 1.2beta
Built on Apr 01, 2004 (11:55:19 EST)

  --> 
- <wsdl:types>
- <schema elementFormDefault="qualified" targetNamespace="http://rmv3.abd.it/schemas/services/importservice" xmlns="http://www.w3.org/2001/XMLSchema">
- <element name="importRequest">
- <complexType>
- <sequence>
  <element name="username" nillable="true" type="xsd:string" /> 
  <element name="password" nillable="true" type="xsd:string" /> 
  <element name="codeShop" nillable="true" type="xsd:string" /> 
  <element name="objectType" nillable="true" type="xsd:string" /> 
  <element name="fValidation" type="xsd:boolean" /> 
  <element name="fVocabulary" type="xsd:boolean" /> 
  <element name="fDefView" type="xsd:boolean" /> 
  <element name="fMemory" type="xsd:boolean" /> 
  </sequence>
  </complexType>
  </element>
  <element name="importResponse" type="xsd:string" /> 
  <element name="importFault" type="xsd:string" /> 
  </schema>
  </wsdl:types>
- <wsdl:message name="ImportFaultMsg">
  <wsdl:part element="tns1:importFault" name="importFault" /> 
  </wsdl:message>
- <wsdl:message name="importOperationResponse">
  <wsdl:part element="tns1:importResponse" name="importResponse" /> 
  </wsdl:message>
- <wsdl:message name="importOperationRequest">
  <wsdl:part element="tns1:importRequest" name="importRequest" /> 
  </wsdl:message>
- <wsdl:portType name="RMImportPortType">
- <wsdl:operation name="importOperation" parameterOrder="importRequest">
  <wsdl:input message="impl:importOperationRequest" name="importOperationRequest" /> 
  <wsdl:output message="impl:importOperationResponse" name="importOperationResponse" /> 
  <wsdl:fault message="impl:ImportFaultMsg" name="ImportFaultMsg" /> 
  </wsdl:operation>
  </wsdl:portType>
- <wsdl:binding name="RMImportSOAPPortSoapBinding" type="impl:RMImportPortType">
  <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
- <wsdl:operation name="importOperation">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="importOperationRequest">
  <wsdlsoap:body namespace="http://rmv3.abd.it/schemas/services/importservice/wsdl" use="literal" /> 
  </wsdl:input>
- <wsdl:output name="importOperationResponse">
  <wsdlsoap:body namespace="http://rmv3.abd.it/schemas/services/importservice" use="literal" /> 
  </wsdl:output>
- <wsdl:fault name="importFault">
  <wsdlsoap:fault name="importFault" use="literal" /> 
  </wsdl:fault>
- <wsdl:fault name="ImportFaultMsg">
  <wsdlsoap:fault name="ImportFaultMsg" use="literal" /> 
  </wsdl:fault>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:service name="RMImportService">
- <wsdl:port binding="impl:RMImportSOAPPortSoapBinding" name="RMImportSOAPPort">
  <wsdlsoap:address location="http://AURORA:8080/axis/services/RMImportSOAPPort" /> 
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1277
    Summary: WSDL2Java adds some unwanted characters in produced files
       Type: Bug

     Status: Resolved
   Priority: Major
 Resolution: CANNOT REPRODUCE

    Project: Axis
 Components: 
             WSDL processing
   Versions:
             1.1
             1.2 Beta

   Assignee: 
   Reporter: Dario Di Minno

    Created: Thu, 1 Apr 2004 6:30 AM
    Updated: Thu, 1 Apr 2004 9:06 AM
Environment: win2000, tomcat4.1, jdk1.4.2_02

Description:
WSDL2Java places some ">" characters in the produced files, that give problems at runtime, so everytime I have to do a "clean up" of the files. 

Below I show you where I find these characters (in the use of QName(...) and in deploy.wsdd):

In ...BindingStub.java:
qName = new javax.xml.namespace.QName("...", ">importRequest");

In beans:
typeDesc.setXmlType(new javax.xml.namespace.QName("...", ">importRequest"));

In deploy.wsdd, in the parameter "type" of the element "parameter" in "operation":

<operation ...>
       <parameter qname="..." xmlns:pns="..." type="tns:>importRequest" xmlns:tns="..." />
       ...
</operation> 

These characters give problems at runtime, infact axis can't generate
the wsdl at the url http://...?wsdl

I get the following error instead:

AXIS error

Sorry, something seems to have gone wrong... here are the details:

Fault - makeTypeElement() was told to create a type
"{http://rmv3.abd.it/schemas/services/importservice}>importRequest", with no containing element

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode: 
 faultString: makeTypeElement() was told to create a type
"{http://rmv3.abd.it/schemas/services/importservice}>importRequest", with no containing element
 faultActor: 
 faultNode: 
 faultDetail: 


Attached you find the wsdl file and an imported xsd schema.



---------------------------------------------------------------------
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


[jira] Commented: (AXIS-1277) WSDL2Java adds some unwanted characters in produced files

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: Tom Crossland
    Created: Fri, 6 Aug 2004 4:21 AM
       Body:
Note that this issue fairly common (i.e. unresolved) and IMHO should be prioritized as Major rather than Minor:

Duplicate issues:
http://nagoya.apache.org/jira/browse/AXIS-1453
http://nagoya.apache.org/jira/browse/AXIS-1431
http://nagoya.apache.org/jira/browse/AXIS-1284
http://nagoya.apache.org/jira/browse/AXIS-1277
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1277?page=comments#action_37095

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1277
    Summary: WSDL2Java adds some unwanted characters in produced files
       Type: Bug

     Status: Resolved
   Priority: Major
 Resolution: CANNOT REPRODUCE

    Project: Axis
 Components: 
             WSDL processing
   Versions:
             1.1
             1.2 Beta

   Assignee: 
   Reporter: Dario Di Minno

    Created: Thu, 1 Apr 2004 6:30 AM
    Updated: Fri, 6 Aug 2004 4:21 AM
Environment: win2000, tomcat4.1, jdk1.4.2_02

Description:
WSDL2Java places some ">" characters in the produced files, that give problems at runtime, so everytime I have to do a "clean up" of the files. 

Below I show you where I find these characters (in the use of QName(...) and in deploy.wsdd):

In ...BindingStub.java:
qName = new javax.xml.namespace.QName("...", ">importRequest");

In beans:
typeDesc.setXmlType(new javax.xml.namespace.QName("...", ">importRequest"));

In deploy.wsdd, in the parameter "type" of the element "parameter" in "operation":

<operation ...>
       <parameter qname="..." xmlns:pns="..." type="tns:>importRequest" xmlns:tns="..." />
       ...
</operation> 

These characters give problems at runtime, infact axis can't generate
the wsdl at the url http://...?wsdl

I get the following error instead:

AXIS error

Sorry, something seems to have gone wrong... here are the details:

Fault - makeTypeElement() was told to create a type
"{http://rmv3.abd.it/schemas/services/importservice}>importRequest", with no containing element

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode: 
 faultString: makeTypeElement() was told to create a type
"{http://rmv3.abd.it/schemas/services/importservice}>importRequest", with no containing element
 faultActor: 
 faultNode: 
 faultDetail: 


Attached you find the wsdl file and an imported xsd schema.



---------------------------------------------------------------------
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