Forum Discussion

sirba01's avatar
sirba01
Occasional Contributor
15 years ago

Adding JSessionID to WebService Request

Hi All,

Is there a way to add JesssionID into SOAP Request? in our project we have a Authentication which requires to set Jsession ID for every WebService Operation.

Thanks,
Balaji
  • DEAR ALL,
    I HAVE CREATED A NEW PROJECT.CREATE A REST SOURCE & GIVEN URL ,CREATE THE REQUEST .THEN I AM GETTING THE OUTPUT DATA->@CONTENTTYPE NULL.(<data contentType="null" contentLength="0"><![CDATA[]]></data>) FOR XML. AND UNDER OUTPUT RESULT IS "ERROR:JAVA.NET.CONNECTION:CONNECTION REFUSED" .

    HOW CAN I SOLVE THIS? PLEASE HELP ME?

    THANKS
    VENKAT
  • sirba01's avatar
    sirba01
    Occasional Contributor
    Got the solution.. i creaded a header property

    Cookie and assign the value of JSession ID and it works fine.

    Cookie JSESSIONID=135yxz2ih6s11

    Thanks,
    Balaji