axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
Date Tue, 29 Jan 2008 15:38:16 GMT
can you post the code ClientDeployConfiguration.java
and also post the code for AdminServiceV001ServiceLocator.java
please display client_deploy_xyz.wsdd

which version axis are you working with ..presumably 1.3 or 1.4?

which version axis.jar are you working with (display contents of manifest.mf
as contained within axis.jar..)

M-
----- Original Message -----
From: "axisnewbee" <swarnalatha28@gmail.com>
To: <axis-user@ws.apache.org>
Sent: Tuesday, January 29, 2008 9:32 AM
Subject: org.xml.sax.SAXException: SimpleDeserializer encountered a child
element, which is NOT expected, in something it was trying to deserialize.


>
> Hi Experts,
>
>   Can i now why i am getting this error.
>
> Below is the scenario:
>
>
> I am using a functionality which is using two wsdl's.. These wsdls are
> generated by WebSPhere WebServices.
>
> I am using one client_deploy.wsdd for our security purposes and creating a
> engine configuration for that
>
>
>     public static EngineConfiguration xyz_config = new
> FileProvider("client_deploy_xyz.wsdd");
>
> I am passing this engine Configurator for the serviceLocator of the client
> code of both wsdls.
>
> service1 = new
> AdminServiceV001ServiceLocator(ClientDeployConfiguration.xyz_CONFIG);
> service2 = new
> PricingServiceV001ServiceLocator(ClientDeployConfiguration.xyz_config);
>
> I my application when i try to use both services interchagably i am
getting
> this error..
>
> Sequece ..
> first used service1
> next used service2
> third again used serice1
>
> i get a
>
>
> org.xml.sax.SAXException: SimpleDeserializer encountered a child element,
> which is NOT expected, in something it was trying to deserialize.
>
>       at
>
org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeseriali
zer.java:145)
>
>       at
>
org.apache.axis.encoding.DeserializationContext.startElement(Deserialization
Context.java:1035)
>
>       at
>
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
>
>       at
>
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:
1141)
>
>       at
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
>
>       at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
>
>       at org.apache.axis.client.Call.invoke(Call.java:2467)
>
>       at org.apache.axis.client.Call.invoke(Call.java:2366)
>
>       at org.apache.axis.client.Call.invoke(Call.java:1812)
>
>
> Can anyone tell me what is the problem ..
> Do let me know if you have any clarifications ..
>
> Note:
>
> if i use different EngineConfigators i dont get this error
>
>
> public static EngineConfiguration admin_config = new
> FileProvider("client_deploy_xyz.wsdd");
> public static EngineConfiguration pricing_config = new
> FileProvider("client_deploy_xyz.wsdd");
>
> but we have quick a lot of servies to be used in our applications.. and i
am
> not sure if this the correct solution.
>
>
>
>
> Thanks,
>
>
>
>
>
> --
> View this message in context:
http://www.nabble.com/org.xml.sax.SAXException%3A-SimpleDeserializer-encount
ered-a-child-element%2C-which-is-NOT-expected%2C-in-something-it-was-trying-
to-deserialize.-tp15160285p15160285.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message