Skip to main content

Netbeans STS problem

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2013-09-09

I am trying to build sample sts example from this tutorial:

I created STS service using STS wizard, and used it to secure sample Calculator app. But it gives following errors:

Unsupported Content-Type: application/soap+xml Supported ones are: [text/xml] Unsupported Content-Type: application/soap+xml Supported ones are: [text/xml] at at at
... ... ....

SEC2002: Container-auth: wss: Error validating request java.lang.NullPointerException at at
... ... ....

WSS1611: Error occurred while buffering incoming SOAP message. XMLStreamReader not positioned at a document or element at at
... .... ....

I set the system property to dump messages in server and I can see the SOAP messages exchanged between service and client.
Now, I see the new errors:
====[]==== Couldn't create SOAP message. Expecting Envelope in namespace, but got
.... ......

From this error, I set service to use SOAP 1.2 using this annotation:"")
But still gives me same errors.
For some reasons, I use Netbeans 6.0, jdk 1.5, glassfish 2. I updated versions, but got same error.
Since I used sts created by sts wizard and calculator app, I didn't do coding.
Could anybody tell me what is wrong?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2014-02-23

Ayuda Por favor quien tenga un ejemplo de STS en netbeans funcionando se le agradece shamirtv@hot...