[
https://issues.apache.org/jira/browse/AXIS2-3900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pete updated AXIS2-3900:
------------------------
Component/s: (was: codegen)
Tools
Description:
Having a problem here with wsdl:import in v1.3 and the latest checkout from svn
of the eclipse codegen wizard.
The result is a SAX parse exception, as the content of the import is empty as
the requested import URL is incorrect.
Specifically, the base wsdl is referenced from this URL:
http://ttssmpa1.betasys.com:9900/rest/services/uddi:2cbf27d4-479f-11dd-a137-d451e9eda976/wsdl
The content of that WSDL contains:
<wsdl:import
namespace="http://GetParticipants.AccountTransferParticipant.x4mlsoa.com/CA/DIWEBDI1/TMAPAR01"
location="wsdl/iZ2jen1sVsP1SxsyYXcX5Q"></wsdl:import>
The codegen is trying to get the import from:
http://ttssmpa1.betasys.com:9900/rest/services/wsdl/iZ2jen1sVsP1SxsyYXcX5Q
As opposed to (where it actually resides at):
http://ttssmpa1.betasys.com:9900/rest/services/uddi:2cbf27d4-479f-11dd-a137-d451e9eda976/wsdl/iZ2jen1sVsP1SxsyYXcX5Q
Of course, if we fully qualify the import URL everything parses fine. (Save to
file and modify)
was:
Having a problem here with wsdl:import in v1.3 and the latest checkout from svn
of the eclipse codegen.
The result is a SAX parse exception, as the content of the import is empty as
the URL is incorrect.
Specifically, the base wsdl is referenced from this URL:
http://ttssmpa1.betasys.com:9900/rest/services/uddi:2cbf27d4-479f-11dd-a137-d451e9eda976/wsdl
The content of that WSDL contains:
<wsdl:import
namespace="http://GetParticipants.AccountTransferParticipant.x4mlsoa.com/CA/DIWEBDI1/TMAPAR01"
location="wsdl/iZ2jen1sVsP1SxsyYXcX5Q"></wsdl:import>
The codegen is trying to get the import from:
http://ttssmpa1.betasys.com:9900/rest/services/wsdl/iZ2jen1sVsP1SxsyYXcX5Q
As opposed to (where it actually resides at):
http://ttssmpa1.betasys.com:9900/rest/services/uddi:2cbf27d4-479f-11dd-a137-d451e9eda976/wsdl/iZ2jen1sVsP1SxsyYXcX5Q
Of course, if we fully qualify the import URL everything parses fine. (Save to
file and modify)
Moving this from a codegen problem to a tools - eclipse plugin problem.
Manually executing the codegen via command line seems to not generate the
issue... (As tested with V1.3 and V1.4 releases)
> Code generator parse error on include - bad URL generated
> ---------------------------------------------------------
>
> Key: AXIS2-3900
> URL: https://issues.apache.org/jira/browse/AXIS2-3900
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: Tools
> Affects Versions: 1.4.1, 1.4, 1.3, nightly
> Environment: Any
> Reporter: Pete
>
> Having a problem here with wsdl:import in v1.3 and the latest checkout from
> svn of the eclipse codegen wizard.
> The result is a SAX parse exception, as the content of the import is empty as
> the requested import URL is incorrect.
> Specifically, the base wsdl is referenced from this URL:
> http://ttssmpa1.betasys.com:9900/rest/services/uddi:2cbf27d4-479f-11dd-a137-d451e9eda976/wsdl
> The content of that WSDL contains:
> <wsdl:import
> namespace="http://GetParticipants.AccountTransferParticipant.x4mlsoa.com/CA/DIWEBDI1/TMAPAR01"
> location="wsdl/iZ2jen1sVsP1SxsyYXcX5Q"></wsdl:import>
> The codegen is trying to get the import from:
> http://ttssmpa1.betasys.com:9900/rest/services/wsdl/iZ2jen1sVsP1SxsyYXcX5Q
> As opposed to (where it actually resides at):
> http://ttssmpa1.betasys.com:9900/rest/services/uddi:2cbf27d4-479f-11dd-a137-d451e9eda976/wsdl/iZ2jen1sVsP1SxsyYXcX5Q
> Of course, if we fully qualify the import URL everything parses fine. (Save
> to file and modify)
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]