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 "Manohar (JIRA)" <ax...@ws.apache.org> on 2005/03/16 13:55:20 UTC

[jira] Created: (AXISCPP-553) WSDL2Ws can't generate code for inquire_v2.wsdl

WSDL2Ws can't generate code for inquire_v2.wsdl
-----------------------------------------------

         Key: AXISCPP-553
         URL: http://issues.apache.org/jira/browse/AXISCPP-553
     Project: Axis-C++
        Type: Bug
    Reporter: Manohar
    Priority: Critical


WSDL2Ws tool can't generate the code for an official verions of inquire_v2.wsdl.
When run against the wsdl, WSDLWs generates the following exception.

16-Mar-2005 10:22:12 org.apache.axis.utils.JavaUtils isAttachmentSupported
WARNING: Unable to find required classes (javax.activation.DataHandler and javax
.mail.internet.MimeMultipart). Attachment support is disabled.
org.apache.axis.wsdl.wsdl2ws.WrapperFault: the service does not exists
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceEntry(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.perprocess(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(Unknown Source)

        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)

Code generation failed. Please see errors above.

-- 
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-553) WSDL2Ws can't generate code for inquire_v2.wsdl

Posted by "Chinthana Danapala (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-553?page=comments#action_61077 ]
     
Chinthana Danapala commented on AXISCPP-553:
--------------------------------------------

With yesterday WSDL it's generated all files and compiled. But with the today WSDL it's not generate the all files and Client Compilation - FAILED.
I tried with the older version WSDL its working.
Some thing is wrong in today WSDL file.


> WSDL2Ws can't generate code for inquire_v2.wsdl
> -----------------------------------------------
>
>          Key: AXISCPP-553
>          URL: http://issues.apache.org/jira/browse/AXISCPP-553
>      Project: Axis-C++
>         Type: Bug
>   Components: Client - Stub
>     Reporter: Manohar
>     Priority: Critical

>
> WSDL2Ws tool can't generate the code for an official verions of inquire_v2.wsdl.
> When run against the wsdl, WSDLWs generates the following exception.
> 16-Mar-2005 10:22:12 org.apache.axis.utils.JavaUtils isAttachmentSupported
> WARNING: Unable to find required classes (javax.activation.DataHandler and javax
> .mail.internet.MimeMultipart). Attachment support is disabled.
> org.apache.axis.wsdl.wsdl2ws.WrapperFault: the service does not exists
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceEntry(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.perprocess(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)
> Code generation failed. Please see errors above.

-- 
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-553) WSDL2Ws can't generate code for inquire_v2.wsdl

Posted by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-553?page=comments#action_61082 ]
     
Dushshantha Chandradasa commented on AXISCPP-553:
-------------------------------------------------

Just a suggestion :)

All WSDLs for the tests, have the "service" specification. this raised because of the WSDL doesnt have the service specification.

It seems WSDL2WS tool uses this spec to generate some classes for the client and and server codes. 

for now shall we use the old wsdl file which has the service spec for Inquire_v2 untill the fixes to the wsdl2ws tool is done??

> WSDL2Ws can't generate code for inquire_v2.wsdl
> -----------------------------------------------
>
>          Key: AXISCPP-553
>          URL: http://issues.apache.org/jira/browse/AXISCPP-553
>      Project: Axis-C++
>         Type: Bug
>   Components: Client - Stub
>     Reporter: Manohar
>     Priority: Critical

>
> WSDL2Ws tool can't generate the code for an official verions of inquire_v2.wsdl.
> When run against the wsdl, WSDLWs generates the following exception.
> 16-Mar-2005 10:22:12 org.apache.axis.utils.JavaUtils isAttachmentSupported
> WARNING: Unable to find required classes (javax.activation.DataHandler and javax
> .mail.internet.MimeMultipart). Attachment support is disabled.
> org.apache.axis.wsdl.wsdl2ws.WrapperFault: the service does not exists
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceEntry(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.perprocess(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)
> Code generation failed. Please see errors above.

-- 
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-553) WSDL2Ws can't generate code for inquire_v2.wsdl

Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-553?page=comments#action_61099 ]
     
John Hawkins commented on AXISCPP-553:
--------------------------------------

I think we should leave the official uddi-inquire wsdl in the build and fix the "service" problem.
Customers use the official version not our hacked one.

> WSDL2Ws can't generate code for inquire_v2.wsdl
> -----------------------------------------------
>
>          Key: AXISCPP-553
>          URL: http://issues.apache.org/jira/browse/AXISCPP-553
>      Project: Axis-C++
>         Type: Bug
>   Components: Client - Stub
>     Reporter: Manohar
>     Priority: Critical

>
> WSDL2Ws tool can't generate the code for an official verions of inquire_v2.wsdl.
> When run against the wsdl, WSDLWs generates the following exception.
> 16-Mar-2005 10:22:12 org.apache.axis.utils.JavaUtils isAttachmentSupported
> WARNING: Unable to find required classes (javax.activation.DataHandler and javax
> .mail.internet.MimeMultipart). Attachment support is disabled.
> org.apache.axis.wsdl.wsdl2ws.WrapperFault: the service does not exists
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceEntry(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.perprocess(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)
> Code generation failed. Please see errors above.

-- 
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] Assigned: (AXISCPP-553) WSDL2Ws can't generate code for inquire_v2.wsdl

Posted by "Mark Whitlock (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-553?page=history ]

Mark Whitlock reassigned AXISCPP-553:
-------------------------------------

    Assign To: Mark Whitlock

> WSDL2Ws can't generate code for inquire_v2.wsdl
> -----------------------------------------------
>
>          Key: AXISCPP-553
>          URL: http://issues.apache.org/jira/browse/AXISCPP-553
>      Project: Axis-C++
>         Type: Bug
>   Components: Client - Stub
>     Reporter: Manohar
>     Assignee: Mark Whitlock
>     Priority: Critical
>  Attachments: UDDI.wsdl
>
> WSDL2Ws tool can't generate the code for an official verions of inquire_v2.wsdl.
> When run against the wsdl, WSDLWs generates the following exception.
> 16-Mar-2005 10:22:12 org.apache.axis.utils.JavaUtils isAttachmentSupported
> WARNING: Unable to find required classes (javax.activation.DataHandler and javax
> .mail.internet.MimeMultipart). Attachment support is disabled.
> org.apache.axis.wsdl.wsdl2ws.WrapperFault: the service does not exists
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceEntry(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.perprocess(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)
> Code generation failed. Please see errors above.

-- 
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-553) WSDL2Ws can't generate code for inquire_v2.wsdl

Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-553?page=history ]

John Hawkins updated AXISCPP-553:
---------------------------------

    Component: Client - Stub

> WSDL2Ws can't generate code for inquire_v2.wsdl
> -----------------------------------------------
>
>          Key: AXISCPP-553
>          URL: http://issues.apache.org/jira/browse/AXISCPP-553
>      Project: Axis-C++
>         Type: Bug
>   Components: Client - Stub
>     Reporter: Manohar
>     Priority: Critical

>
> WSDL2Ws tool can't generate the code for an official verions of inquire_v2.wsdl.
> When run against the wsdl, WSDLWs generates the following exception.
> 16-Mar-2005 10:22:12 org.apache.axis.utils.JavaUtils isAttachmentSupported
> WARNING: Unable to find required classes (javax.activation.DataHandler and javax
> .mail.internet.MimeMultipart). Attachment support is disabled.
> org.apache.axis.wsdl.wsdl2ws.WrapperFault: the service does not exists
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceEntry(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.perprocess(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)
> Code generation failed. Please see errors above.

-- 
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-553) WSDL2Ws can't generate code for inquire_v2.wsdl

Posted by "Adrian Dick (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-553?page=history ]

Adrian Dick updated AXISCPP-553:
--------------------------------

    Attachment: UDDI.wsdl

As has been commented, the official UDDI wsdl doesn't contain a service definition.
This is primarily because it provides the definition of implementation, but each provider needs to supply the server details.

What we should do here is create our own WSDL, which imports the inquire_v2.wsdl, and define a new service which uses that wsdl.  I attach an example of one I have just created.

Keeping the official UDDI wsdl unchanged, and modifying test.list to use the attached WSDL file results in a compiling and executable stub.

> WSDL2Ws can't generate code for inquire_v2.wsdl
> -----------------------------------------------
>
>          Key: AXISCPP-553
>          URL: http://issues.apache.org/jira/browse/AXISCPP-553
>      Project: Axis-C++
>         Type: Bug
>   Components: Client - Stub
>     Reporter: Manohar
>     Priority: Critical
>  Attachments: UDDI.wsdl
>
> WSDL2Ws tool can't generate the code for an official verions of inquire_v2.wsdl.
> When run against the wsdl, WSDLWs generates the following exception.
> 16-Mar-2005 10:22:12 org.apache.axis.utils.JavaUtils isAttachmentSupported
> WARNING: Unable to find required classes (javax.activation.DataHandler and javax
> .mail.internet.MimeMultipart). Attachment support is disabled.
> org.apache.axis.wsdl.wsdl2ws.WrapperFault: the service does not exists
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceEntry(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.perprocess(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)
> Code generation failed. Please see errors above.

-- 
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-553) WSDL2Ws can't generate code for inquire_v2.wsdl

Posted by "Mark Whitlock (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-553?page=history ]
     
Mark Whitlock closed AXISCPP-553:
---------------------------------

    Resolution: Fixed

Fixed as suggested by adding in UDDI.wsdl and pointing the inquire_v2 test at UDDI.wsdl

> WSDL2Ws can't generate code for inquire_v2.wsdl
> -----------------------------------------------
>
>          Key: AXISCPP-553
>          URL: http://issues.apache.org/jira/browse/AXISCPP-553
>      Project: Axis-C++
>         Type: Bug
>   Components: Client - Stub
>     Reporter: Manohar
>     Assignee: Mark Whitlock
>     Priority: Critical
>  Attachments: UDDI.wsdl
>
> WSDL2Ws tool can't generate the code for an official verions of inquire_v2.wsdl.
> When run against the wsdl, WSDLWs generates the following exception.
> 16-Mar-2005 10:22:12 org.apache.axis.utils.JavaUtils isAttachmentSupported
> WARNING: Unable to find required classes (javax.activation.DataHandler and javax
> .mail.internet.MimeMultipart). Attachment support is disabled.
> org.apache.axis.wsdl.wsdl2ws.WrapperFault: the service does not exists
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceEntry(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.perprocess(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)
> Code generation failed. Please see errors above.

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