Getting Error while creating session via SOAP using Stubs

English! place to talk about development, programming and coding
Post Reply
jmkdev
Znuny newbie
Posts: 23
Joined: 16 Jan 2013, 08:21
Znuny Version: OTRS 3.1
Real Name: Jignesh
Company: Cisco

Getting Error while creating session via SOAP using Stubs

Post by jmkdev »

I used wsdl file and created Stubs/Client for Java

Now while creating session, the session created has value like this "10a79e9b27e4f098a80b7cdcd19d97e655". In OTRS_SessionCreateResponse, the session is positiveInteger.

But somehow i get

Jan 23, 2013 11:09:18 AM org.apache.axis.client.Call invoke
SEVERE: Exception:
java.lang.NumberFormatException: For input string: "10bb522"
at org.apache.axis.encoding.ser.SimpleDeserializer.onEndElement(SimpleDeserializer.java:176)
jmkdev
Znuny newbie
Posts: 23
Joined: 16 Jan 2013, 08:21
Znuny Version: OTRS 3.1
Real Name: Jignesh
Company: Cisco

Re: Getting Error while creating session via SOAP using Stub

Post by jmkdev »

I found the solution.

I changed the sessionID type to string. It worked
Post Reply