Good Morning/Guten Tag Kim

 

the purpose is to support and further development efforts with Axis Web Service 
development.


It is not our intention to clog your email with insolicited postings


More information on unsubscribing from axis is available at 

http://ws.apache.org/axis2/mail-lists.html

Vielen Danke,
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.

 



From: kal...@einsof.com
Subject: unsubscribe
Date: Thu, 1 Apr 2010 10:49:34 -0500
To: java-user@axis.apache.org

UNSUBSCRIBE


sorry, I have tried the unsubscribe email and it told me I wasn't subscribed -- 
so now I'm really frustrated!  How do i stop these?





On Apr 1, 2010, at 10:39 AM, christian.poec...@bayerbbs.com wrote:

Hi Russ, 

you could try to play with Call#addHeader() before you #invoke() the Call. 

Mit freundlichen Grüßen / Best Regards
QuinScape GmbH
i.V. Christian Poecher
_________________________________________
QuinScape GmbH, Dortmund
http://www.quinscape.de 

Geschäftsführer:
Thomas Biskup     Sitz Dortmund
Dr. Norbert Jesse    HRB 14740
Dr. Gero Presser    Amtsgericht Dortmund

Vertragspartner der Bayer Business Services GmbH
Projekt Order Tracking Portal
Projekt Business Service Management por...@bhc
Im Auftrag der
Bayer Business Services GmbH
Gebäude 2975, Raum 02.B2.02
Schanzenstrasse 41
51063 Köln, Deutschland

Tel.: +49 214 30 30988
E-Mail: christian.poec...@bayerbbs.com
Web: http://www.BayerBBS.com

Geschäftsführung: Vorsitzender Daniel Hartert   |   Arbeitsdirektor Norbert 
Fieseler
Vorsitzender des Aufsichtsrats: Klaus Kühn
Sitz der Gesellschaft: Leverkusen   |   Amtsgericht Köln, HRB 49895







Russ Schampers <schampers.r...@gmail.com> 
01.04.2010 15:29 




Bitte antworten an
java-user@axis.apache.org







An
java-user@axis.apache.org 


Kopie



Thema
Modify SOAP header on wsdl generated client









I have a client generated from a wsdl.  The generation gives me the following 
classes:
XXX
XXXProxy
XXXService
XXXServiceLocator
XXXSoapBindingStub

For this particular web service the vendor has informed me that I need to 
include special properties in the SOAP header.  The correct SOAP header looks 
like this:

      <soapenv:Header> 
   <ns1:gw_auth_user_prop 
soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"; 
   soapenv:mustUnderstand="0" 
xmlns:ns1="http://www.guidewire.com/soap";>user</ns1:gw_auth_user_prop> 
   <ns2:gw_auth_password_prop 
soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"; 
   soapenv:mustUnderstand="0" 
xmlns:ns2="http://www.guidewire.com/soap";>password</ns2:gw_auth_password_prop> 
      </soapenv:Header>


I have tried to instantiate XXXSoapBindingStub and create a custom header and 
then call XXXSoapBindingStub.setHeader(), however I am getting unexpected 
behavior and I don't think I'm doing things "the right way".



What is the correct way to use a generated client, but simply modify the header 
message being sent to conform to the above format? 

                                          
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/210850553/direct/01/

Reply via email to