You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by ax...@ws.apache.org on 2004/10/11 12:03:51 UTC

[jira] Created: (AXISCPP-198) WSDL2WS problems

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-198

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-198
    Summary: WSDL2WS problems
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis-C++

   Assignee: 
   Reporter: Fred Preston

    Created: Mon, 11 Oct 2004 3:03 AM
    Updated: Mon, 11 Oct 2004 3:03 AM
Environment: n/a

Description:
when running the wsdl2ws tool I got the following errors:

java -classpath /home/ev5adm4/sd/PreReqs/axis.jar:/home/ev5adm4/sd/PreReqs/commons-logging.jar:/home/ev5adm4/sd/PreReqs/saaj.jar:/home/ev5adm4/sd/PreReqs/commons-discovery.jar:/home/ev5adm4/sd/PreReqs/jaxrpc.jar:/home/ev5adm4/sd/PreReqs/wsdl4j.jar:/home/ev5adm4/sd/WSDL2Ws/wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws IQueryWSPort.wsdl -oIQueryWS -lc++ -sclient
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.axis.wsdl.symbolTable.ElementDecl: method getMinOccrs()I not found
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.createTypeInfo(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getTypeInfo(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.genarateWrappers(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)

I am also attaching the wsdl's and dependent xsd's.
Thanks,
	 


Steve Dunlap


---------------------------------------------------------------------
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: (AXISCPP-198) WSDL2WS problems

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

    Updater: Fred Preston (mailto:prestonf@uk.ibm.com)
       Date: Mon, 11 Oct 2004 3:06 AM
    Comment:
2 of 3 attachments
    Changes:
             Attachment changed to IQueryWS.wsdl
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/AXISCPP-198?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-198

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-198
    Summary: WSDL2WS problems
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis-C++

   Assignee: 
   Reporter: Fred Preston

    Created: Mon, 11 Oct 2004 3:03 AM
    Updated: Mon, 11 Oct 2004 3:06 AM
Environment: n/a

Description:
when running the wsdl2ws tool I got the following errors:

java -classpath /home/ev5adm4/sd/PreReqs/axis.jar:/home/ev5adm4/sd/PreReqs/commons-logging.jar:/home/ev5adm4/sd/PreReqs/saaj.jar:/home/ev5adm4/sd/PreReqs/commons-discovery.jar:/home/ev5adm4/sd/PreReqs/jaxrpc.jar:/home/ev5adm4/sd/PreReqs/wsdl4j.jar:/home/ev5adm4/sd/WSDL2Ws/wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws IQueryWSPort.wsdl -oIQueryWS -lc++ -sclient
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.axis.wsdl.symbolTable.ElementDecl: method getMinOccrs()I not found
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.createTypeInfo(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getTypeInfo(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.genarateWrappers(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)

I am also attaching the wsdl's and dependent xsd's.
Thanks,
	 


Steve Dunlap


---------------------------------------------------------------------
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: (AXISCPP-198) WSDL2WS problems

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

    Updater: Fred Preston (mailto:prestonf@uk.ibm.com)
       Date: Mon, 11 Oct 2004 3:06 AM
    Comment:
3 of 3 attachments
    Changes:
             Attachment changed to IQueryWSPort.wsdl
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/AXISCPP-198?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-198

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-198
    Summary: WSDL2WS problems
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis-C++

   Assignee: 
   Reporter: Fred Preston

    Created: Mon, 11 Oct 2004 3:03 AM
    Updated: Mon, 11 Oct 2004 3:06 AM
Environment: n/a

Description:
when running the wsdl2ws tool I got the following errors:

java -classpath /home/ev5adm4/sd/PreReqs/axis.jar:/home/ev5adm4/sd/PreReqs/commons-logging.jar:/home/ev5adm4/sd/PreReqs/saaj.jar:/home/ev5adm4/sd/PreReqs/commons-discovery.jar:/home/ev5adm4/sd/PreReqs/jaxrpc.jar:/home/ev5adm4/sd/PreReqs/wsdl4j.jar:/home/ev5adm4/sd/WSDL2Ws/wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws IQueryWSPort.wsdl -oIQueryWS -lc++ -sclient
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.axis.wsdl.symbolTable.ElementDecl: method getMinOccrs()I not found
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.createTypeInfo(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getTypeInfo(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.genarateWrappers(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)

I am also attaching the wsdl's and dependent xsd's.
Thanks,
	 


Steve Dunlap


---------------------------------------------------------------------
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: (AXISCPP-198) WSDL2WS problems

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

     Author: Samisa Abeysinghe
    Created: Mon, 11 Oct 2004 10:06 PM
       Body:
I could generate the code with the latest source from CVS. However, I ran into compilation problems with the generated client code:

In file included from IdentifierArrayType.h:12,
                 from IdentifierArrayType.cpp:7:
Identifier.h:19: error: field `xsd__base64Binary Identifier::Identifier' with
   same name as class
In file included from Identifier.cpp:7:
Identifier.h:19: error: field `xsd__base64Binary Identifier::Identifier' with
   same name as class
In file included from IQueryWS.h:12,
                 from IQueryWS.cpp:6:
Status.h:19: error: field `char*Status::Status' with same name as class
In file included from IQueryWS.h:16,
                 from IQueryWS.cpp:6:
Identifier.h:19: error: field `xsd__base64Binary Identifier::Identifier' with
   same name as class
In file included from IQueryWS.h:18,
                 from IQueryWS.cpp:6:
replicaType.h:12:21: AnyType.h: No such file or directory
In file included from IQueryWS.h:18,
                 from IQueryWS.cpp:6:
replicaType.h:17: error: conflicting types for `struct AnyType'
/home/samisa/autoCVS/cvsAutoBuild/include/axis/server/AxisUserAPI.h:223: error: previous
   declaration as `typedef struct AnyType AnyType'
In file included from IQueryWS.h:44,
                 from IQueryWS.cpp:6:
replica2Type.h:12:21: AnyType.h: No such file or directory
In file included from replica2Type.cpp:7:
replica2Type.h:12:21: AnyType.h: No such file or directory
In file included from replica2Type.cpp:7:
replica2Type.h:17: error: conflicting types for `struct AnyType'
/home/samisa/autoCVS/cvsAutoBuild/include/axis/server/AxisUserAPI.h:223: error: previous
   declaration as `typedef struct AnyType AnyType'
replica2Type.cpp: In function `int Axis_DeSerialize_replica2Type(replica2Type*,
   axiscpp::IWrapperSoapDeSerializer*)':
replica2Type.cpp:46: error: `Axis_URI_AnyType' undeclared (first use this
   function)
replica2Type.cpp:46: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
In file included from replicaType.cpp:7:
replicaType.h:12:21: AnyType.h: No such file or directory
In file included from replicaType.cpp:7:
replicaType.h:17: error: conflicting types for `struct AnyType'
/home/samisa/autoCVS/cvsAutoBuild/include/axis/server/AxisUserAPI.h:223: error: previous
   declaration as `typedef struct AnyType AnyType'
replicaType.cpp: In function `int Axis_DeSerialize_replicaType(replicaType*,
   axiscpp::IWrapperSoapDeSerializer*)':
replicaType.cpp:46: error: `Axis_URI_AnyType' undeclared (first use this
   function)
replicaType.cpp:46: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
In file included from Status.cpp:7:
Status.h:19: error: field `char*Status::Status' with same name as class

---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXISCPP-198?page=comments#action_53923

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-198

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-198
    Summary: WSDL2WS problems
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis-C++

   Assignee: 
   Reporter: Fred Preston

    Created: Mon, 11 Oct 2004 3:03 AM
    Updated: Mon, 11 Oct 2004 10:06 PM
Environment: n/a

Description:
when running the wsdl2ws tool I got the following errors:

java -classpath /home/ev5adm4/sd/PreReqs/axis.jar:/home/ev5adm4/sd/PreReqs/commons-logging.jar:/home/ev5adm4/sd/PreReqs/saaj.jar:/home/ev5adm4/sd/PreReqs/commons-discovery.jar:/home/ev5adm4/sd/PreReqs/jaxrpc.jar:/home/ev5adm4/sd/PreReqs/wsdl4j.jar:/home/ev5adm4/sd/WSDL2Ws/wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws IQueryWSPort.wsdl -oIQueryWS -lc++ -sclient
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.axis.wsdl.symbolTable.ElementDecl: method getMinOccrs()I not found
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.createTypeInfo(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getTypeInfo(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.genarateWrappers(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)

I am also attaching the wsdl's and dependent xsd's.
Thanks,
	 


Steve Dunlap


---------------------------------------------------------------------
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: (AXISCPP-198) WSDL2WS problems

Posted by ax...@ws.apache.org.
Message:

   The following issue has been closed.

   Resolver: Samisa Abeysinghe
       Date: Tue, 12 Oct 2004 1:27 AM

The problems were due to 2 reasons.
1. CPP rpc code generated did not handle Any type correctly
2. The generated code had classes that had members with the same name to that of class name

Both problems were solved and the source is in CVS. I generated both client and server code and compiled without problem. However, the compiled code need to be tested againt a real service. 
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-198

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-198
    Summary: WSDL2WS problems
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: Axis-C++
   Fix Fors:
             1.3 Final

   Assignee: Samisa Abeysinghe
   Reporter: Fred Preston

    Created: Mon, 11 Oct 2004 3:03 AM
    Updated: Tue, 12 Oct 2004 1:27 AM
Environment: n/a

Description:
when running the wsdl2ws tool I got the following errors:

java -classpath /home/ev5adm4/sd/PreReqs/axis.jar:/home/ev5adm4/sd/PreReqs/commons-logging.jar:/home/ev5adm4/sd/PreReqs/saaj.jar:/home/ev5adm4/sd/PreReqs/commons-discovery.jar:/home/ev5adm4/sd/PreReqs/jaxrpc.jar:/home/ev5adm4/sd/PreReqs/wsdl4j.jar:/home/ev5adm4/sd/WSDL2Ws/wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws IQueryWSPort.wsdl -oIQueryWS -lc++ -sclient
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.axis.wsdl.symbolTable.ElementDecl: method getMinOccrs()I not found
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.createTypeInfo(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getTypeInfo(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.genarateWrappers(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)

I am also attaching the wsdl's and dependent xsd's.
Thanks,
	 


Steve Dunlap


---------------------------------------------------------------------
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: (AXISCPP-198) WSDL2WS problems

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

    Updater: Fred Preston (mailto:prestonf@uk.ibm.com)
       Date: Mon, 11 Oct 2004 3:06 AM
    Comment:
1 of 3 attachments
    Changes:
             Attachment changed to xsd.zip
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/AXISCPP-198?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-198

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-198
    Summary: WSDL2WS problems
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis-C++

   Assignee: 
   Reporter: Fred Preston

    Created: Mon, 11 Oct 2004 3:03 AM
    Updated: Mon, 11 Oct 2004 3:06 AM
Environment: n/a

Description:
when running the wsdl2ws tool I got the following errors:

java -classpath /home/ev5adm4/sd/PreReqs/axis.jar:/home/ev5adm4/sd/PreReqs/commons-logging.jar:/home/ev5adm4/sd/PreReqs/saaj.jar:/home/ev5adm4/sd/PreReqs/commons-discovery.jar:/home/ev5adm4/sd/PreReqs/jaxrpc.jar:/home/ev5adm4/sd/PreReqs/wsdl4j.jar:/home/ev5adm4/sd/WSDL2Ws/wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws IQueryWSPort.wsdl -oIQueryWS -lc++ -sclient
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.axis.wsdl.symbolTable.ElementDecl: method getMinOccrs()I not found
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.createTypeInfo(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getTypeInfo(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.genarateWrappers(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)

I am also attaching the wsdl's and dependent xsd's.
Thanks,
	 


Steve Dunlap


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