You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "DAG support (JIRA)" <ji...@apache.org> on 2011/07/07 20:27:16 UTC

[jira] [Created] (WODEN-230) Error while converting wsdl 1.0 to wsdl 2.0 , when wsdl 1.0 has messages with more than 1 part

Error while converting wsdl 1.0 to wsdl 2.0 , when wsdl 1.0 has messages with more than 1 part
----------------------------------------------------------------------------------------------

                 Key: WODEN-230
                 URL: https://issues.apache.org/jira/browse/WODEN-230
             Project: Woden
          Issue Type: Bug
          Components: Tools
    Affects Versions: M9
         Environment: windows 7 
            Reporter: DAG support
         Attachments: common.xsd

I have messages with more than 1 part. 

I get this error message while converting
java.lang.IllegalArgumentException: Encountered an input message with a number of parts other than 0 or 1: [Part: name=auth elementName={http://test.com/design/schemas/common}auth, Part: name=criteria elementName={http://test.com/design/schemas}metadataCriteria]
	at
org.apache.woden.tool.converter.Convert.convertInput(Convert.java:953)
	at
org.apache.woden.tool.converter.Convert.convertOperations(Convert.java:771)
	at
org.apache.woden.tool.converter.Convert.convertPortTypes(Convert.java:710)
	at
org.apache.woden.tool.converter.Convert.convertDefinition(Convert.java:248)
	at
org.apache.woden.tool.converter.Convert.convertDefinition(Convert.java:191)
	at
org.apache.woden.tool.converter.Convert.convertFile(Convert.java:288)


Source Code
String wsdlDoc = "E://temp//metacenterservice.wsdl";
		String newTargetNS = null;
		String targetDir = "E://temp1//";;
		boolean verbose = true;
		boolean overwrite = true;

		Convert convert = new Convert();
		try {
		String convertFile = convert.convertFile(newTargetNS,wsdlDoc,targetDir,verbose,overwrite);
		System.out.println(convertFile);
				} catch (Exception e) {
		e.printStackTrace();
		} 



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[jira] [Updated] (WODEN-230) Error while converting wsdl 1.0 to wsdl 2.0 , when wsdl 1.0 has messages with more than 1 part

Posted by "DAG support (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

DAG support updated WODEN-230:
------------------------------

    Attachment: common.xsd

> Error while converting wsdl 1.0 to wsdl 2.0 , when wsdl 1.0 has messages with more than 1 part
> ----------------------------------------------------------------------------------------------
>
>                 Key: WODEN-230
>                 URL: https://issues.apache.org/jira/browse/WODEN-230
>             Project: Woden
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: M9
>         Environment: windows 7 
>            Reporter: DAG support
>         Attachments: common.xsd
>
>
> I have messages with more than 1 part. 
> I get this error message while converting
> java.lang.IllegalArgumentException: Encountered an input message with a number of parts other than 0 or 1: [Part: name=auth elementName={http://test.com/design/schemas/common}auth, Part: name=criteria elementName={http://test.com/design/schemas}metadataCriteria]
> 	at
> org.apache.woden.tool.converter.Convert.convertInput(Convert.java:953)
> 	at
> org.apache.woden.tool.converter.Convert.convertOperations(Convert.java:771)
> 	at
> org.apache.woden.tool.converter.Convert.convertPortTypes(Convert.java:710)
> 	at
> org.apache.woden.tool.converter.Convert.convertDefinition(Convert.java:248)
> 	at
> org.apache.woden.tool.converter.Convert.convertDefinition(Convert.java:191)
> 	at
> org.apache.woden.tool.converter.Convert.convertFile(Convert.java:288)
> Source Code
> String wsdlDoc = "E://temp//metacenterservice.wsdl";
> 		String newTargetNS = null;
> 		String targetDir = "E://temp1//";;
> 		boolean verbose = true;
> 		boolean overwrite = true;
> 		Convert convert = new Convert();
> 		try {
> 		String convertFile = convert.convertFile(newTargetNS,wsdlDoc,targetDir,verbose,overwrite);
> 		System.out.println(convertFile);
> 				} catch (Exception e) {
> 		e.printStackTrace();
> 		} 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[jira] [Updated] (WODEN-230) Error while converting wsdl 1.0 to wsdl 2.0 , when wsdl 1.0 has messages with more than 1 part

Posted by "DAG support (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

DAG support updated WODEN-230:
------------------------------

    Attachment: metacenter.xsd

> Error while converting wsdl 1.0 to wsdl 2.0 , when wsdl 1.0 has messages with more than 1 part
> ----------------------------------------------------------------------------------------------
>
>                 Key: WODEN-230
>                 URL: https://issues.apache.org/jira/browse/WODEN-230
>             Project: Woden
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: M9
>         Environment: windows 7 
>            Reporter: DAG support
>         Attachments: common.xsd, metacenter.wsdl, metacenter.xsd, metacenterservice.wsdl
>
>
> I have messages with more than 1 part. 
> I get this error message while converting
> java.lang.IllegalArgumentException: Encountered an input message with a number of parts other than 0 or 1: [Part: name=auth elementName={http://test.com/design/schemas/common}auth, Part: name=criteria elementName={http://test.com/design/schemas}metadataCriteria]
> 	at
> org.apache.woden.tool.converter.Convert.convertInput(Convert.java:953)
> 	at
> org.apache.woden.tool.converter.Convert.convertOperations(Convert.java:771)
> 	at
> org.apache.woden.tool.converter.Convert.convertPortTypes(Convert.java:710)
> 	at
> org.apache.woden.tool.converter.Convert.convertDefinition(Convert.java:248)
> 	at
> org.apache.woden.tool.converter.Convert.convertDefinition(Convert.java:191)
> 	at
> org.apache.woden.tool.converter.Convert.convertFile(Convert.java:288)
> Source Code
> String wsdlDoc = "E://temp//metacenterservice.wsdl";
> 		String newTargetNS = null;
> 		String targetDir = "E://temp1//";;
> 		boolean verbose = true;
> 		boolean overwrite = true;
> 		Convert convert = new Convert();
> 		try {
> 		String convertFile = convert.convertFile(newTargetNS,wsdlDoc,targetDir,verbose,overwrite);
> 		System.out.println(convertFile);
> 				} catch (Exception e) {
> 		e.printStackTrace();
> 		} 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[jira] [Updated] (WODEN-230) Error while converting wsdl 1.0 to wsdl 2.0 , when wsdl 1.0 has messages with more than 1 part

Posted by "DAG support (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

DAG support updated WODEN-230:
------------------------------

    Attachment: metacenter.wsdl

> Error while converting wsdl 1.0 to wsdl 2.0 , when wsdl 1.0 has messages with more than 1 part
> ----------------------------------------------------------------------------------------------
>
>                 Key: WODEN-230
>                 URL: https://issues.apache.org/jira/browse/WODEN-230
>             Project: Woden
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: M9
>         Environment: windows 7 
>            Reporter: DAG support
>         Attachments: common.xsd, metacenter.wsdl, metacenter.xsd, metacenterservice.wsdl
>
>
> I have messages with more than 1 part. 
> I get this error message while converting
> java.lang.IllegalArgumentException: Encountered an input message with a number of parts other than 0 or 1: [Part: name=auth elementName={http://test.com/design/schemas/common}auth, Part: name=criteria elementName={http://test.com/design/schemas}metadataCriteria]
> 	at
> org.apache.woden.tool.converter.Convert.convertInput(Convert.java:953)
> 	at
> org.apache.woden.tool.converter.Convert.convertOperations(Convert.java:771)
> 	at
> org.apache.woden.tool.converter.Convert.convertPortTypes(Convert.java:710)
> 	at
> org.apache.woden.tool.converter.Convert.convertDefinition(Convert.java:248)
> 	at
> org.apache.woden.tool.converter.Convert.convertDefinition(Convert.java:191)
> 	at
> org.apache.woden.tool.converter.Convert.convertFile(Convert.java:288)
> Source Code
> String wsdlDoc = "E://temp//metacenterservice.wsdl";
> 		String newTargetNS = null;
> 		String targetDir = "E://temp1//";;
> 		boolean verbose = true;
> 		boolean overwrite = true;
> 		Convert convert = new Convert();
> 		try {
> 		String convertFile = convert.convertFile(newTargetNS,wsdlDoc,targetDir,verbose,overwrite);
> 		System.out.println(convertFile);
> 				} catch (Exception e) {
> 		e.printStackTrace();
> 		} 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[jira] [Updated] (WODEN-230) Error while converting wsdl 1.0 to wsdl 2.0 , when wsdl 1.0 has messages with more than 1 part

Posted by "DAG support (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

DAG support updated WODEN-230:
------------------------------

    Attachment: metacenterservice.wsdl

> Error while converting wsdl 1.0 to wsdl 2.0 , when wsdl 1.0 has messages with more than 1 part
> ----------------------------------------------------------------------------------------------
>
>                 Key: WODEN-230
>                 URL: https://issues.apache.org/jira/browse/WODEN-230
>             Project: Woden
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: M9
>         Environment: windows 7 
>            Reporter: DAG support
>         Attachments: common.xsd, metacenter.wsdl, metacenter.xsd, metacenterservice.wsdl
>
>
> I have messages with more than 1 part. 
> I get this error message while converting
> java.lang.IllegalArgumentException: Encountered an input message with a number of parts other than 0 or 1: [Part: name=auth elementName={http://test.com/design/schemas/common}auth, Part: name=criteria elementName={http://test.com/design/schemas}metadataCriteria]
> 	at
> org.apache.woden.tool.converter.Convert.convertInput(Convert.java:953)
> 	at
> org.apache.woden.tool.converter.Convert.convertOperations(Convert.java:771)
> 	at
> org.apache.woden.tool.converter.Convert.convertPortTypes(Convert.java:710)
> 	at
> org.apache.woden.tool.converter.Convert.convertDefinition(Convert.java:248)
> 	at
> org.apache.woden.tool.converter.Convert.convertDefinition(Convert.java:191)
> 	at
> org.apache.woden.tool.converter.Convert.convertFile(Convert.java:288)
> Source Code
> String wsdlDoc = "E://temp//metacenterservice.wsdl";
> 		String newTargetNS = null;
> 		String targetDir = "E://temp1//";;
> 		boolean verbose = true;
> 		boolean overwrite = true;
> 		Convert convert = new Convert();
> 		try {
> 		String convertFile = convert.convertFile(newTargetNS,wsdlDoc,targetDir,verbose,overwrite);
> 		System.out.println(convertFile);
> 				} catch (Exception e) {
> 		e.printStackTrace();
> 		} 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org