I'm using the wstools to consume a WebService from Weblogic and get this 
exception.

The targetNamespace has java:com.name.etc 
According to the WebLogic developer this is their automatically generated WSDL 
from the appserver.

Is this a true restriction of WSDL, SOAP, and/or WS-I
or is JBossWS being more restrictive?

  [wstools] java.lang.IllegalArgumentException: TargetNS should start with 
http/https/urn
  [wstools] at 
org.jboss.ws.tools.ToolsUtils.getJavaPackageName(ToolsUtils.java:145)
  [wstools] at org.jboss.ws.tools.WSDLToJava.generateSEI(WSDLToJava.java:169)
  [wstools] at 
org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:326)
  [wstools] at org.jboss.ws.tools.WSTools.process(WSTools.java:132)
  [wstools] at org.jboss.ws.tools.WSTools.generate(WSTools.java:119)
  [wstools] at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103)
  [wstools] at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
  [wstools] at org.apache.tools.ant.Task.perform(Task.java:364)
  [wstools] at org.apache.tools.ant.Target.execute(Target.java:341)
  [wstools] at org.apache.tools.ant.Target.performTasks(Target.java:369)
  [wstools] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
  [wstools] at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
  [wstools] at 
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:383)
  [wstools] at 
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:136)




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952068#3952068

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952068


_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to