com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source



  • mvirtosumvirtosu Posts: 275
    Colin and everyone else,

    Neither my client computer, not the server had JAVA_HOME variables in Windows.

    The problem persists. My .NET code and SoapUI are not successful, while is.

    On the other hand, a website I wrote also in .NET running on a production server in our server room can enroll subjects via OC web services just fine.

    What can it be?

  • ebsebs Posts: 115 ✭✭
    edited November 2016
    I recall there being a gotcha if you copied the header from the OC documentation page.....there is a carriage return in the password section. Ensure you remove that as it appears it may still be there in your sample XML above.

    Or it may be the way SoapUI is dealing with the SSL certificate?

    Tip: I found the Wizdler Chrome extension a handy method of testing services

  • mvirtosumvirtosu Posts: 275

    Thanks for your tips!

    Wizdler works from my computer. My .NET code and SoapUI still fail. What can it be?

  • mvirtosumvirtosu Posts: 275
    Update: I specifically set the security protocol in my code to Tls11 and it worked. I don't know why, but it did.

Sign In or Register to comment.