Hello all,

 

 

i programmed a SOAP application using WSS4J for signatures.

All works fine, if I using TOMCAT 5.0 (or lower)

 

Deploying my Application on a Sun Application Server 8.1, I get a

error. The Remote side informed me, that there is no certificate in the

request.

 

 

Monitoring the outgoing Traffic with the AXIS TCP-Monitor confirmed my

suggestion. The XML is not signed my WSS4J. Here the output with the TCP-Monitor

on a Sun App Server:

 

POST /incoming/BLS_Stoerungsmeldung HTTP/1.0

Content-Type: text/xml; charset=utf-8

Accept: application/soap+xml, application/dime, multipart/related, text/*

User-Agent: Axis/1.2

Host: 192.168.1.220:9999

Cache-Control: no-cache

Pragma: no-cache

SOAPAction: ""

Content-Length: 2959

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1:execute soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://www.telekom.de/t-com/resaleDSL/webservices"><xmldata xsi:type="xsd:string">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;

&lt;StoerungResaleDSL xmlns=&quot;http://www.telekom.de/t-com/resaleDSL/webservices/Daten&quot;&gt;

    &lt;Stoerungsmeldung&gt;

        &lt;Version&gt;001.000&lt;/Version&gt;

        &lt;AuftragStoerungsmeldung&gt;

            &lt;ResellerStoerungsID&gt;0000000364&lt;/ResellerStoerungsID&gt;

            &lt;Anschluss&gt;

                &lt;ONKZ&gt;343&lt;/ONKZ&gt;

                &lt;Rufnummer&gt;343&lt;/Rufnummer&gt;

                &lt;AnschlussStandort&gt;

                    &lt;Ort&gt;sdf&lt;/Ort&gt;

                    &lt;PLZ&gt;33333&lt;/PLZ&gt;

                    &lt;Strasse&gt;sdf&lt;/Strasse&gt;

                    &lt;Hausnummer&gt;1q&lt;/Hausnummer&gt;

                &lt;/AnschlussStandort&gt;

                &lt;AnschlussDaten&gt;

                    &lt;Produkt&gt;Resale DSL 1000&lt;/Produkt&gt;

                    &lt;Zusatzleistungen&gt;

                        &lt;ErhoehterUpstream&gt;ja&lt;/ErhoehterUpstream&gt;

                        &lt;Fastpath&gt;ja&lt;/Fastpath&gt;

                    &lt;/Zusatzleistungen&gt;

                &lt;/AnschlussDaten&gt;

            &lt;/Anschluss&gt;

            &lt;Kontakt&gt;

                &lt;KontaktpersonVorname&gt;asd&lt;/KontaktpersonVorname&gt;

                &lt;KontaktpersonNachname&gt;sadf&lt;/KontaktpersonNachname&gt;

                &lt;ONKZ&gt;343&lt;/ONKZ&gt;

                &lt;Rufnummer&gt;343&lt;/Rufnummer&gt;

            &lt;/Kontakt&gt;

            &lt;Stoerungsdaten&gt;

                &lt;FunktionierteResaleDSLBisher&gt;ja&lt;/FunktionierteResaleDSLBisher&gt;

                &lt;BauartModem&gt;intern&lt;/BauartModem&gt;

                &lt;RouterAngeschlossen&gt;ja&lt;/RouterAngeschlossen&gt;

                &lt;DSLModemLEDSynchronGruen&gt;ja&lt;/DSLModemLEDSynchronGruen&gt;

                &lt;ModemUR2Faehig&gt;ja&lt;/ModemUR2Faehig&gt;

                &lt;AlleGeraeteverbindungenGesteckt&gt;ja&lt;/AlleGeraeteverbindungenGesteckt&gt;

                &lt;InternetVerbindung&gt;ja&lt;/InternetVerbindung&gt;

                &lt;AbbruchInternetVerbindungen&gt;ja&lt;/AbbruchInternetVerbindungen&gt;

                &lt;ModemAktivFuerPruefzwecke&gt;ja&lt;/ModemAktivFuerPruefzwecke&gt;

                &lt;Stoerungsbeschreibung&gt;as&lt;/Stoerungsbeschreibung&gt;

            &lt;/Stoerungsdaten&gt;

        &lt;/AuftragStoerungsmeldung&gt;

    &lt;/Stoerungsmeldung&gt;

&lt;/StoerungResaleDSL&gt;

 

Trying the same thing with a TOMCAT it work correctly.

I experiment a little bit with the JAR on my SUNApp 8.1 (witch runs in MS-Windows) with

the following libs:  saaj.jar axis-saaj.jar. Now it seems to work with MS-Windows.

 

Trying the same steps on SUN-Workstation with the SunApp 8.1 it does not work.

The request is not signed.

 

So, I think my application is programmed correcty, but it seems to be a configurationproblem

on my SUN-Workstation.

 

Have anybody out there any tips, what i could try at next?

 

Thanks to all and merry X-MAS!

 

Best regards

Manuel Jung

 

--

Manuel Jung  Dipl.-Inform. (FH)  Email: [EMAIL PROTECTED]
Concrete Logic GmbH               http://www.concrete-logic.de
In den Dauen 6                         Telefon: +49-228-62077214
53117 Bonn                              Telefax: +49-228-62077222                               

 

Reply via email to