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/16 16:58:32 UTC

[jira] Created: (AXIS-1318) Binding Stub does not compile with the following WSDL2JAVA

Message:

  A new issue has been created in JIRA.

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1318
    Summary: Binding Stub does not compile with the following WSDL2JAVA
       Type: Bug

     Status: Unassigned
   Priority: Blocker

    Project: Axis
 Components: 
             WSDL processing
   Versions:
             1.0
             1.1

   Assignee: 
   Reporter: Adam Pyatt

    Created: Fri, 16 Apr 2004 7:56 AM
    Updated: Fri, 16 Apr 2004 7:56 AM
Environment: Same things happens on my machine(XP) as the cold fusion machine we are trying to consume the web service on.

Both are running java 1.4.2

Description:

When I run WSDL2JAVA on the WSDL in question, the binding stub does not compile.  It for some reason the following errors occur during compile time:
WorkflowServices_pkg/WorkflowServicesBindingStub.java [628:1] cannot
resolve symbol
symbol : variable apache
location: class java.lang.String
_call.setSOAPVersion
(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);

WorkflowServicesBindingStub.java [643:1] cannot resolve symbol
symbol  : variable apache 
location: class java.lang.String
return (WorkflowServices_pkg.WorkflowRoute[]) org.apache.axis.utils.JavaUtils.convert(_resp, WorkflowServices_pkg.WorkflowRoute[].class);

I have a other methods in the service that return complex types as well, but all of those compile fine.  So I have taken those out.

I have successfully ran this WSDL against PHP NuSOAP and a few other java web service clients.  The Soap Server creating this WSDL is created by PHP NuSOAP.

I couldn't figure out how to attach files so I am includig the wsdl text here.  Sorry.

Thank you much

Adam


<?xml version="1.0"?><definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:si="http://soapinterop.org/xsd" xmlns:tns="urn:WorkflowServices" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:WorkflowServices"><types><xsd:schema targetNamespace="urn:WorkflowServices"><xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" /><xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" /><xsd:complexType name="WorkflowRoute"><xsd:sequence><xsd:complexContent><xsd:element name="EMPLID" type="xsd:string"/><xsd:element name="NAME" type="xsd:string"/><xsd:element name="UI_WKFLW_APPRV_FLG" type="xsd:string"/><xsd:element name="WORKGROUP" type="xsd:string"/><xsd:element name="UI_WKFLW_APPRV_FLG_DISPLAY" type="xsd:string"/></xsd:complexContent></xsd:sequence></xsd:complexType><xsd:complexType name="WorkflowRoutes"><xsd:complexContent><xsd:restriction base="SOAP-ENC:Array"><xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:WorkflowRoute[]"/></xsd:restriction></xsd:complexContent></xsd:complexType></xsd:schema></types><message name="getWorkflowRouteInformationRequest"><part name="formType" type="xsd:string" /><part name="formSubType" type="xsd:string" /><part name="org" type="xsd:string" /><part name="dept" type="xsd:string" /><part name="subLevel" type="xsd:string" /></message><message name="getWorkflowRouteInformationResponse"><part name="return" type="tns:WorkflowRoutes" /></message><portType name="WorkflowServicesPortType"><operation name="getWorkflowRouteInformation"><documentation>Returns basic information about the route a workflow transaction could take for the given paramters.</documentation><input message="tns:getWorkflowRouteInformationRequest"/><output message="tns:getWorkflowRouteInformationResponse"/></operation></portType><binding name="WorkflowServicesBinding" type="tns:WorkflowServicesPortType"><soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="getWorkflowRouteInformation"><soap:operation soapAction="urn:WorkflowServices#getWorkflowRouteInformation" style="rpc"/><input><soap:body use="encoded" namespace="urn:WorkflowServices" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:WorkflowServices" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation></binding><service name="WorkflowServices"><port name="WorkflowServicesPort" binding="tns:WorkflowServicesBinding"><soap:address location="http://hrisdev.its.uiowa.edu/webServices/workflow/index.php"/></port></service></definitions>



---------------------------------------------------------------------
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] Closed: (AXIS-1318) Binding Stub does not compile with the following WSDL2JAVA

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

   The following issue has been closed.

   Resolver: Davanum Srinivas
       Date: Sun, 18 Apr 2004 2:53 PM

Please rename the "org" part name under getWorkflowRouteInformationRequest to something else say "organization". there is no good way to fix this in axis code.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1318

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1318
    Summary: Binding Stub does not compile with the following WSDL2JAVA
       Type: Bug

     Status: Closed
   Priority: Blocker
 Resolution: WON'T FIX

    Project: Axis
 Components: 
             WSDL processing
   Versions:
             1.0
             1.1

   Assignee: 
   Reporter: Adam Pyatt

    Created: Fri, 16 Apr 2004 7:56 AM
    Updated: Sun, 18 Apr 2004 2:53 PM
Environment: Same things happens on my machine(XP) as the cold fusion machine we are trying to consume the web service on.

Both are running java 1.4.2

Description:

When I run WSDL2JAVA on the WSDL in question, the binding stub does not compile.  It for some reason the following errors occur during compile time:
WorkflowServices_pkg/WorkflowServicesBindingStub.java [628:1] cannot
resolve symbol
symbol : variable apache
location: class java.lang.String
_call.setSOAPVersion
(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);

WorkflowServicesBindingStub.java [643:1] cannot resolve symbol
symbol  : variable apache 
location: class java.lang.String
return (WorkflowServices_pkg.WorkflowRoute[]) org.apache.axis.utils.JavaUtils.convert(_resp, WorkflowServices_pkg.WorkflowRoute[].class);

I have a other methods in the service that return complex types as well, but all of those compile fine.  So I have taken those out.

I have successfully ran this WSDL against PHP NuSOAP and a few other java web service clients.  The Soap Server creating this WSDL is created by PHP NuSOAP.

I couldn't figure out how to attach files so I am includig the wsdl text here.  Sorry.

Thank you much

Adam


<?xml version="1.0"?><definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:si="http://soapinterop.org/xsd" xmlns:tns="urn:WorkflowServices" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:WorkflowServices"><types><xsd:schema targetNamespace="urn:WorkflowServices"><xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" /><xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" /><xsd:complexType name="WorkflowRoute"><xsd:sequence><xsd:complexContent><xsd:element name="EMPLID" type="xsd:string"/><xsd:element name="NAME" type="xsd:string"/><xsd:element name="UI_WKFLW_APPRV_FLG" type="xsd:string"/><xsd:element name="WORKGROUP" type="xsd:string"/><xsd:element name="UI_WKFLW_APPRV_FLG_DISPLAY" type="xsd:string"/></xsd:complexContent></xsd:sequence></xsd:complexType><xsd:complexType name="WorkflowRoutes"><xsd:complexContent><xsd:restriction base="SOAP-ENC:Array"><xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:WorkflowRoute[]"/></xsd:restriction></xsd:complexContent></xsd:complexType></xsd:schema></types><message name="getWorkflowRouteInformationRequest"><part name="formType" type="xsd:string" /><part name="formSubType" type="xsd:string" /><part name="org" type="xsd:string" /><part name="dept" type="xsd:string" /><part name="subLevel" type="xsd:string" /></message><message name="getWorkflowRouteInformationResponse"><part name="return" type="tns:WorkflowRoutes" /></message><portType name="WorkflowServicesPortType"><operation name="getWorkflowRouteInformation"><documentation>Returns basic information about the route a workflow transaction could take for the given paramters.</documentation><input message="tns:getWorkflowRouteInformationRequest"/><output message="tns:getWorkflowRouteInformationResponse"/></operation></portType><binding name="WorkflowServicesBinding" type="tns:WorkflowServicesPortType"><soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="getWorkflowRouteInformation"><soap:operation soapAction="urn:WorkflowServices#getWorkflowRouteInformation" style="rpc"/><input><soap:body use="encoded" namespace="urn:WorkflowServices" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:WorkflowServices" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation></binding><service name="WorkflowServices"><port name="WorkflowServicesPort" binding="tns:WorkflowServicesBinding"><soap:address location="http://hrisdev.its.uiowa.edu/webServices/workflow/index.php"/></port></service></definitions>



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