You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ben May <bl...@columbia.edu> on 2011/07/26 18:52:32 UTC

[WARN] Could not find any schema type associated with the Element '{http://schemas.xmlsoap.org/ws/2004/03/addressing}ReplyAfter'

Hello all! Just subscribed to this list looking for help on using
WSDL2Java for the following service:

https://ctms-services-pa-3-3.nci.nih.gov:1523/wsrf/services/cagrid/TrialRegistrationService?wsdl

This website is using a self-signed cert, so you will need to take the
attached jssecerts file and put it into your $JAVA_HOME/lib/security (or
$JAVA_HOME/jre/lib/security) directory for the java installation you're
using to run axis2 in order to not get an SSL cert error.

I've done so and when I try and run this command:

$./wsdl2java.sh  -uri
https://ctms-services-pa-3-3.nci.nih.gov:1523/wsrf/services/cagrid/TrialRegistrationService?wsdlInstallCert.java

I get the following exception:

[WARN] Could not find any schema type associated with the Element
'{http://schemas.xmlsoap.org/ws/2004/03/addressing}ReplyAfter'
Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:293)
	at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
	at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
	at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
	at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:246)
	... 2 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
	... 3 more
Caused by: org.apache.axis2.schema.SchemaCompilationException: The
referenced element '{http://pa.services.coppa.nci.nih.gov}StudySite' was
not found!
	at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:752)
	at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:603)
	at
org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:2063)
	at
org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1946)
	at
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1155)
	at
org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:1054)
	at
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:1008)
	at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:644)
	at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:603)
	at
org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:2063)
	at
org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1946)
	at
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1155)
	at
org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:1054)
	at
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:1008)
	at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:644)
	at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:614)
	at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:422)
	at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:291)
	at
org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:102)
	... 8 more

Any help appreciated, thanks in advance!
-- 


Benjamin May
Sr. Research Analyst
+(212) 851-4772
maybe@columbia.edu

------------------------------------------
This electronic message is intended to be for the use only of the
named recipient, and may contain information that is confidential or
privileged. If you are not the intended recipient, you are hereby
notified that any disclosure, copying, distribution or use of the
contents of this message is strictly prohibited. If you have received this
message in error or are not the named recipient, please notify us
immediately by contacting the sender at the electronic mail address
noted above, and delete and destroy all copies of this message. Thank
you.