[jira] Commented: (AXIS2-3041) WSDL2java does not provoide circular wsdl import support

2007-08-01 Thread Davanum Srinivas (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIS2-3041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516875
 ] 

Davanum Srinivas commented on AXIS2-3041:
-

Exception with that patch:

Exception in thread main 
org.apache.axis2.wsdl.codegen.CodeGenerationException: 
org.apache.axis2.wsdl.codegen.CodeGenerationException: 
java.lang.RuntimeException: Malformed uri: X10-NoTimestamp_IPin
gService_Ping_Input_policy
at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: 
java.lang.RuntimeException: Malformed uri: 
X10-NoTimestamp_IPingService_Ping_Input_policy
at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1363)
at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:247)
... 2 more
Caused by: java.lang.RuntimeException: Malformed uri: 
X10-NoTimestamp_IPingService_Ping_Input_policy
at 
org.apache.neethi.PolicyReference.getRemoteReferedElement(PolicyReference.java:161)
at 
org.apache.neethi.PolicyReference.getRemoteReferencedPolicy(PolicyReference.java:175)
at org.apache.neethi.PolicyReference.normalize(PolicyReference.java:111)
at org.apache.axis2.util.PolicyUtil.getMergedPolicy(PolicyUtil.java:220)
at 
org.apache.axis2.description.AxisBindingMessage.getEffectivePolicy(AxisBindingMessage.java:236)
at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.getBindingPolicyFromMessage(AxisServiceBasedMultiLanguageEmitter.java:282)
at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.getInputElement(AxisServiceBasedMultiLanguageEmitter.java:2649)
at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.generateMethodElement(AxisServiceBasedMultiLanguageEmitter.java:2191)
at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:2117)
at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.createDOMDocumentForSkeleton(AxisServiceBasedMultiLanguageEmitter.java:2033)
at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.writeSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1964)
at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1320)
... 3 more

 WSDL2java does not provoide circular wsdl import support
 

 Key: AXIS2-3041
 URL: https://issues.apache.org/jira/browse/AXIS2-3041
 Project: Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: codegen
Reporter: Amila Chinthaka Suriarachchi
Assignee: Amila Chinthaka Suriarachchi
 Attachments: patch-AXIS2-3041.diff


 use the wsdl2java tool with the following wsdl, to generate client.
 http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc?wsdl
 it fails since wsdl2java does not support circular imports.

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



[jira] Commented: (AXIS2-3041) WSDL2java does not provoide circular wsdl import support

2007-08-01 Thread Davanum Srinivas (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIS2-3041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516971
 ] 

Davanum Srinivas commented on AXIS2-3041:
-

I've checked in a fix to trunk - 561798. There is still a problem with 
computing effective policy. Here's the output.

ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_Ping_Input_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_Ping_output_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_echo_Input_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_echo_output_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_echoXml_Input_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_echoXml_output_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_echoDataSet_Input_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_echoDataSet_output_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_header_Input_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_header_output_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_fault_Input_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_fault_output_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_Ping_Input_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_Ping_output_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_echo_Input_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_echo_output_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_echoXml_Input_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_echoXml_output_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_echoDataSet_Input_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_echoDataSet_output_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_header_Input_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_header_output_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_fault_Input_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_fault_output_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_Ping_Input_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_Ping_output_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_echo_Input_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_echo_output_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_echoXml_Input_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_echoXml_output_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_echoDataSet_Input_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_echoDataSet_output_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_header_Input_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_header_output_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_fault_Input_policy
ERROR: Ignoring policy - Malformed uri: 
X10-NoTimestamp_IPingService_fault_output_policy

This is printed from Line 285 in AxisServiceBasedMultiLanguageEmitter.java

thanks,
dims

 WSDL2java does not provoide circular wsdl import support
 

 Key: AXIS2-3041
 URL: https://issues.apache.org/jira/browse/AXIS2-3041
 Project: Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: codegen
Reporter: Amila Chinthaka Suriarachchi
Assignee: Amila Chinthaka Suriarachchi
 Attachments: patch-AXIS2-3041.diff


 use the wsdl2java tool with the following wsdl, to generate client.
 http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc?wsdl
 it fails since wsdl2java does not support circular imports.

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