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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to