axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-2457) Problem with ADB when generated Server Side skeletons
Date Wed, 04 Apr 2007 11:02:32 GMT

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

Deepal Jayasinghe commented on AXIS2-2457:
------------------------------------------

Hi Ajith,

As we can see the problem is in XmlSchema , when we change XMLSchema in Axis2 1.2 RC1 everything
works fine but once we use current snapshot we are getting this error. It will be great if
you could looking to this issue.


Thanks
Deepal


> Problem with ADB when generated Server Side skeletons
> -----------------------------------------------------
>
>                 Key: AXIS2-2457
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2457
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: nightly
>            Reporter: Paul Fremantle
>             Fix For: 1.2
>
>         Attachments: PaulsService@wsdl, PaulsService@xsd=xsd0, PaulsService@xsd=xsd1,
PaulsService@xsd=xsd2
>
>
> I'm using WSDL2Java from the latest RC2
> Here is my command line:
> \axis2-1.2\bin\wsdl2java.bat -ss -sd -uri PaulsService@wsdl
> And here is my exception:
> Using AXIS2_HOME:   c:\axis2-1.2
> Using JAVA_HOME:    c:\jdk
> Retrieving schema at 'PaulsService@xsd=xsd2', relative to 'file:/C:/dotnetinterop/service1.2/'.
> Retrieving schema at 'PaulsService@xsd=xsd0', relative to 'file:/C:/dotnetinterop/service1.2/'.
> Retrieving schema at 'http://localhost/PaulsService?xsd=xsd2', relative to 'file:/C:/dotnetinterop/s
> ervice1.2/PaulsService@xsd=xsd0'.
> Retrieving schema at 'PaulsService@xsd=xsd1', relative to 'file:/C:/dotnetinterop/service1.2/'.
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: org.apache.axis2.w
> sdl.codegen.CodeGenerationException: java.lang.RuntimeException: Schema writing failed!
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:255
> )
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException:
Schema
>  writing failed!
>         at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitSkeleton(A
> xisServiceBasedMultiLanguageEmitter.java:1270)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:237
> )
>         ... 2 more
> Caused by: java.lang.RuntimeException: Schema writing failed!
>         at org.apache.axis2.wsdl.codegen.writer.SchemaWriter.writeSchema(SchemaWriter.java:49)
>         at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.writeWSDLFiles
> (AxisServiceBasedMultiLanguageEmitter.java:1310)
>         at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitSkeleton(A
> xisServiceBasedMultiLanguageEmitter.java:1246)
>         ... 3 more
> Caused by: java.util.NoSuchElementException
>         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:844)
>         at java.util.HashMap$KeyIterator.next(HashMap.java:877)
>         at org.apache.ws.commons.schema.extensions.DefaultExtensionSerializer.serialize(DefaultExten
> sionSerializer.java:41)
>         at org.apache.ws.commons.schema.extensions.ExtensionRegistry.serializeExtension(ExtensionReg
> istry.java:119)
>         at org.apache.ws.commons.schema.XmlSchemaSerializer.processExtensibilityComponents(XmlSchema
> Serializer.java:2720)
>         at org.apache.ws.commons.schema.XmlSchemaSerializer.serializeElement(XmlSchemaSerializer.jav
> a:635)
>         at org.apache.ws.commons.schema.XmlSchemaSerializer.serializeSequence(XmlSchemaSerializer.ja
> va:1018)
>         at org.apache.ws.commons.schema.XmlSchemaSerializer.serializeComplexType(XmlSchemaSerializer
> .java:931)
>         at org.apache.ws.commons.schema.XmlSchemaSerializer.serializeElement(XmlSchemaSerializer.jav
> a:613)
>         at org.apache.ws.commons.schema.XmlSchemaSerializer.serializeSchemaChild(XmlSchemaSerializer
> .java:242)
>         at org.apache.ws.commons.schema.XmlSchemaSerializer.serializeSchemaElement(XmlSchemaSerializ
> er.java:189)
>         at org.apache.ws.commons.schema.XmlSchemaSerializer.serializeSchema(XmlSchemaSerializer.java
> :80)
>         at org.apache.ws.commons.schema.XmlSchema.serialize_internal(XmlSchema.java:207)
>         at org.apache.ws.commons.schema.XmlSchema.write(XmlSchema.java:188)
>         at org.apache.ws.commons.schema.XmlSchema.write(XmlSchema.java:184)
>         at org.apache.axis2.wsdl.codegen.writer.SchemaWriter.writeSchema(SchemaWriter.java:44)
>         ... 5 more

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message