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 "Gurprit Singh (JIRA)" <ax...@ws.apache.org> on 2005/01/27 16:39:21 UTC

[jira] Created: (AXIS-1787) Bad generated WSDL for Document/literal

Bad generated WSDL for Document/literal
---------------------------------------

         Key: AXIS-1787
         URL: http://issues.apache.org/jira/browse/AXIS-1787
     Project: Axis
        Type: Bug
    Versions: 1.2    
 Environment: Windows XP, Jboss
    Reporter: Gurprit Singh
    Priority: Blocker


I have multiple methods in a service all takes a String as input. But the problem is when i generates wsdl using Java2Wsdl it genrates multiple entries of
   <element name="in0" type="xsd:string"/>

in  <wsdl:types>, whihc is a not a valid wsdl.

Please have a look at the Bulid.xml entry

axis-java2wsdl location="${service.url.riskassessmentService}" 
			output="${wsdl.riskassessment}" 
			style="document" 
			use="literal" 
			serviceelementname="RiskAssessmentService" 
			serviceportname="WrapRiskAssessmentService" 
			classname="uk.co.skandia.wraptools.risk.RiskAssessmentService" 
			namespace="http://www.skandia.co.uk/wrap/RiskAssessmentService">
			<mapping package="uk.co.skandia.wraptools.risk" 
				namespace="urn:http://www.skandia.co.uk/wrap/RiskAssessmentService"/>
		</axis-java2wsdl>

-- 
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-1787) Bad generated WSDL for Document/literal

Posted by "Gurprit Singh (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1787?page=comments#action_58916 ]
     
Gurprit Singh commented on AXIS-1787:
-------------------------------------

The issues has been resolves in latest version of Axis

Thank you

> Bad generated WSDL for Document/literal
> ---------------------------------------
>
>          Key: AXIS-1787
>          URL: http://issues.apache.org/jira/browse/AXIS-1787
>      Project: Axis
>         Type: Bug
>     Versions: 1.2
>  Environment: Windows XP, Jboss
>     Reporter: Gurprit Singh
>     Priority: Blocker

>
> I have multiple methods in a service all takes a String as input. But the problem is when i generates wsdl using Java2Wsdl it genrates multiple entries of
>    <element name="in0" type="xsd:string"/>
> in  <wsdl:types>, whihc is a not a valid wsdl.
> Please have a look at the Bulid.xml entry
> axis-java2wsdl location="${service.url.riskassessmentService}" 
> 			output="${wsdl.riskassessment}" 
> 			style="document" 
> 			use="literal" 
> 			serviceelementname="RiskAssessmentService" 
> 			serviceportname="WrapRiskAssessmentService" 
> 			classname="uk.co.skandia.wraptools.risk.RiskAssessmentService" 
> 			namespace="http://www.skandia.co.uk/wrap/RiskAssessmentService">
> 			<mapping package="uk.co.skandia.wraptools.risk" 
> 				namespace="urn:http://www.skandia.co.uk/wrap/RiskAssessmentService"/>
> 		</axis-java2wsdl>

-- 
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-1787) Bad generated WSDL for Document/literal

Posted by "Venkat Reddy (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1787?page=history ]
     
Venkat Reddy closed AXIS-1787:
------------------------------

    Resolution: Fixed

Fixed in latest CVS.

> Bad generated WSDL for Document/literal
> ---------------------------------------
>
>          Key: AXIS-1787
>          URL: http://issues.apache.org/jira/browse/AXIS-1787
>      Project: Axis
>         Type: Bug
>     Versions: 1.2
>  Environment: Windows XP, Jboss
>     Reporter: Gurprit Singh
>     Priority: Blocker

>
> I have multiple methods in a service all takes a String as input. But the problem is when i generates wsdl using Java2Wsdl it genrates multiple entries of
>    <element name="in0" type="xsd:string"/>
> in  <wsdl:types>, whihc is a not a valid wsdl.
> Please have a look at the Bulid.xml entry
> axis-java2wsdl location="${service.url.riskassessmentService}" 
> 			output="${wsdl.riskassessment}" 
> 			style="document" 
> 			use="literal" 
> 			serviceelementname="RiskAssessmentService" 
> 			serviceportname="WrapRiskAssessmentService" 
> 			classname="uk.co.skandia.wraptools.risk.RiskAssessmentService" 
> 			namespace="http://www.skandia.co.uk/wrap/RiskAssessmentService">
> 			<mapping package="uk.co.skandia.wraptools.risk" 
> 				namespace="urn:http://www.skandia.co.uk/wrap/RiskAssessmentService"/>
> 		</axis-java2wsdl>

-- 
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-1787) Bad generated WSDL for Document/literal

Posted by "Venkat Reddy (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1787?page=comments#action_58915 ]
     
Venkat Reddy commented on AXIS-1787:
------------------------------------

Can you post a test case to reproduce the issue?

> Bad generated WSDL for Document/literal
> ---------------------------------------
>
>          Key: AXIS-1787
>          URL: http://issues.apache.org/jira/browse/AXIS-1787
>      Project: Axis
>         Type: Bug
>     Versions: 1.2
>  Environment: Windows XP, Jboss
>     Reporter: Gurprit Singh
>     Priority: Blocker

>
> I have multiple methods in a service all takes a String as input. But the problem is when i generates wsdl using Java2Wsdl it genrates multiple entries of
>    <element name="in0" type="xsd:string"/>
> in  <wsdl:types>, whihc is a not a valid wsdl.
> Please have a look at the Bulid.xml entry
> axis-java2wsdl location="${service.url.riskassessmentService}" 
> 			output="${wsdl.riskassessment}" 
> 			style="document" 
> 			use="literal" 
> 			serviceelementname="RiskAssessmentService" 
> 			serviceportname="WrapRiskAssessmentService" 
> 			classname="uk.co.skandia.wraptools.risk.RiskAssessmentService" 
> 			namespace="http://www.skandia.co.uk/wrap/RiskAssessmentService">
> 			<mapping package="uk.co.skandia.wraptools.risk" 
> 				namespace="urn:http://www.skandia.co.uk/wrap/RiskAssessmentService"/>
> 		</axis-java2wsdl>

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