axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Jordahl" <t...@macromedia.com>
Subject RE: Attempted to write duplicate schema element - AXIS 1.2 RC2
Date Thu, 17 Mar 2005 16:47:47 GMT

The type mapping code in 1.2RC3 has changed significantly to try and do
2 things: Fix doc/lit type mappings and do JAX-RPC 1.1.

The getSingleton() api probably went away....

--
Tom Jordahl
Macromedia Server Development

> -----Original Message-----
> From: babloosony [mailto:babloosony@gmail.com]
> Sent: Thursday, March 17, 2005 7:25 AM
> To: axis-user@ws.apache.org; axis-dev@ws.apache.org
> Subject: Attempted to write duplicate schema element - AXIS 1.2 RC2
> 
> Hi All,
> 
> There is code that we got from third party which uses AXIS API's
> internally to generate WSDL. I cannot modify their code but can tune
> the inputs that I pass to that code so that WSDL can be generated
> successfully.
> 
> 
> 1. When I use AXIS 1.2 RC2 I am getting below error. Can anyone please
> tell what workaround I can do for getting
> rid of this error. Is this a bug in AXIS 1.2 RC2 ? :
> 
> AxisFault
>  faultCode: {http://xml.apache.org/axis/}Server.generalException
>  faultSubcode:
>  faultString: Attempted to write duplicate schema element :
> {http://ws.as.com/wsdl/mr}getMRAccount
>  faultActor:
>  faultNode:
>  faultDetail:
>     {http://xml.apache.org/axis/}stackTrace:Attempted to write
> duplicate schema element : {http://ws.as.com/wsdl/mr}getMRAccount
>     at
>
org.apache.axis.wsdl.fromJava.Types.writeSchemaElementDecl(Types.java:85
3)
>     at
>
org.apache.axis.wsdl.fromJava.Types.writeWrapperElement(Types.java:540)
>     at
>
org.apache.axis.wsdl.fromJava.Emitter.writeWrapperPart(Emitter.java:1633
)
>     at
>
org.apache.axis.wsdl.fromJava.Emitter.writeRequestMessage(Emitter.java:1
45
> 9)
>     at
> org.apache.axis.wsdl.fromJava.Emitter.writeMessages(Emitter.java:1098)
>     at
> org.apache.axis.wsdl.fromJava.Emitter.writePortType(Emitter.java:1067)
>     at org.apache.axis.wsdl.fromJava.Emitter.getWSDL(Emitter.java:479)
>     at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:326)
>     at com.amy.Build.process(Build.java:636)
>     at com.amy.Build.main(Build.java:813)
> 
>     {http://xml.apache.org/axis/}hostname:hyddl0337
> 
> Attempted to write duplicate schema element :
> {http://ws.as.com/wsdl/mr}getMRAccount
>     at
>
org.apache.axis.wsdl.fromJava.Types.writeSchemaElementDecl(Types.java:85
3)
>     at
>
org.apache.axis.wsdl.fromJava.Types.writeWrapperElement(Types.java:540)
>     at
>
org.apache.axis.wsdl.fromJava.Emitter.writeWrapperPart(Emitter.java:1633
)
>     at
>
org.apache.axis.wsdl.fromJava.Emitter.writeRequestMessage(Emitter.java:1
45
> 9)
>     at
> org.apache.axis.wsdl.fromJava.Emitter.writeMessages(Emitter.java:1098)
>     at
> org.apache.axis.wsdl.fromJava.Emitter.writePortType(Emitter.java:1067)
>     at org.apache.axis.wsdl.fromJava.Emitter.getWSDL(Emitter.java:479)
>     at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:326)
>     at com.amy.Build.process(Build.java:636)
>     at com.amy.Build.main(Build.java:813)
> 
> 
> 
> 
> 
> 2. When I use AXIS 1.2 RC3 I am getting below error:
> java.lang.NoSuchMethodError:
>
org.apache.axis.encoding.DefaultTypeMappingImpl.getSingleton()Lorg/apach
e/
> axis/encoing/TypeMapping;
> 
> Can anyone please tell me is there any workaround for this ?
> 
> 
> 
> 
> Thanks & Regards,
> Kumar.

Mime
View raw message