Hello,
I'm an Axis 1.2RC2 user.
When I try to call a particular Axis service, I get an AxisFault
exception saying: "Did not understand "MustUnderstand" header(s)".
The SOAP header of the response message for the service contains a
mandatory header with the mustUnderstand
Hi!:
I apologize in advance for this question.
I've no time to experiment, then I looking for the Guru.
I need to create this kind of SOAP HEADER
http://www.oasis-open.org/asap/0.9/asap.xsd";>
http://asap/ASAPServer/InstanceService.asmx?id=632354970841017568.000
ugust 2004 21:32
An: [EMAIL PROTECTED]
Betreff: RE: soap header problem
Dorner,
The use of default namespaces (message 1) versus namespace prefixes (message
2) makes no semantic difference. In both cases the qualified name of the
sessionID element is http://xml.apache.org/axis/session}sessionI
TED]
Sent: Thursday, August 26, 2004 5:31 AM
To: '[EMAIL PROTECTED]'
Subject: soap header problem
Hi all,
I have a problem when I send a SOAP Message with
the following header form gsoap-client to AXIS-WebService:
http://xml.apache.org/axis/session";>
TED]
Sent: Thursday, August 26, 2004 5:31 AM
To: '[EMAIL PROTECTED]'
Subject: soap header problem
Hi all,
I have a problem when I send a SOAP Message with
the following header form gsoap-client to AXIS-WebService:
http://xml.apache.org/axis/session";>
When I use AXIS-Client, the SOAP-Header looks like this:
http://schemas.xmlsoap.org/soap/actor/next";
soapenv:mustUnderstand="0" xmlns:ns1
="http://xml.apache.org/axis/session";>5744257808292276193
http://schemas.xmlsoap.org/soap/actor/next&
>I suggest you file an enhancement request.
>There ought to be a fault handler chain.
I have some experience doing fairly complex things with faults and
Axis Handlers' onFault() methods. It works, but it's pretty awkward. I
understand JAX-RPC 2.0 is changing the rules in this area; does Axis
alrea
I suggest you file an enhancement request.
There ought to be a fault handler chain.
- Anne
From: Wei Hsu
[mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 4:21
PM
To: '[EMAIL PROTECTED]'
Subject: RE: Adding SOAP header to
SOAP Faults
Okay. So I fi
I suggest you file an enhancement request.
There ought to be a fault handler chain.
- Anne
From: Wei Hsu
[mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 4:21
PM
To: '[EMAIL PROTECTED]'
Subject: RE: Adding SOAP header to
SOAP Faults
Okay. So I fi
I want to create a service that has a couple of required SOAP header
elements but I don't want those elements passed as parameters to the
underlying service methods. I want to use the header for doing some
pre-processing before the service method is called. I want to be able
to specif
Original Message-
From: Anne Thomas Manes
[mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004
11:50 AM
To: [EMAIL PROTECTED]
Subject: RE: Adding SOAP header to
SOAP Faults
Sounds
like we need a fault response chain.
From: Wei Hsu
[mailto:[EMAIL PROTECTED]
Sent: Frida
Anne Thomas Manes
[mailto:[EMAIL PROTECTED]
Sent: Friday, August
20, 2004 11:50 AM
To: [EMAIL PROTECTED]
Subject: RE: Adding SOAP header to
SOAP Faults
Sounds like we need a
fault response chain.
From: Wei Hsu
[mailto:[EMAIL PROTECTED]
Sent: Friday, August
20, 2004 1:47 PM
To: [
ROTECTED]
> Subject: Adding SOAP header to SOAP Faults
>
> Hi all,
>
> I'm trying to add a customized SOAP Header to all
> responses returned from
> the server to the client. So far I'm doing this
> with a handler registered
> in the response flow. T
Sounds like we need a fault response
chain.
From: Wei Hsu
[mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 1:47
PM
To: [EMAIL PROTECTED]
Subject: Adding SOAP header to
SOAP Faults
Hi all,
I'm trying to add a customized SOAP Header to all responses ret
Sounds like we need a fault response
chain.
From: Wei Hsu
[mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 1:47
PM
To: [EMAIL PROTECTED]
Subject: Adding SOAP header to
SOAP Faults
Hi all,
I'm trying to add a customized SOAP Header to all responses ret
Hi all,
I'm trying to add a customized SOAP Header to all responses
returned from the server to the client. So far I'm doing this with
a handler registered in the response flow. This works fine for normal
responses, but not for SOAP faults. Please correct me if I'
What about this?
SOAPHeaderElement soapHeader =
soapEnvelope.getHeaderByName("http://www.abc.com";, "Flight");
-Ursprüngliche Nachricht-
Von: Kiran Sutrave [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 17. August 2004 05:57
An: [EMAIL PROTECTED]
Betreff: Re: AW: SOAP
erByName("", "Interface");
But the soapHeader is null. let me know how to get the handle to the
xml within in the soapheader
Thanks
Kiran
- Original Message -
From: Dorner Thomas <[EMAIL PROTECTED]>
Date: Mon, 16 Aug 2004 08:59:50 +0200
Subject: AW: SOAP-Head
[mailto:[EMAIL PROTECTED]Gesendet: Freitag, 13. August 2004
20:21An: [EMAIL PROTECTED]Betreff: RE:
SOAP-Header
Your namespaces don't
match.
Make this
change:
SOAPHeaderElement header = env.getHeaderByName("http://t-systems.de",
"Clie
o: '[EMAIL PROTECTED]'
Subject: SOAP-Header
Hello,
can sombody please tell me, how I can get a HeaderElement
in my ServiceIml, which I
set in my ClientStub?
When I do :
Message rspmsg = mctx.getResponseMessage();
SOAPEnvelop
;http://t-systems.de/pdmwebConnector/clientid",
"ClientID");
I get a null in my
"header" !!!???
My SOAP-Header looks
like this:
http://schemas.xmlsoap.org/soap/actor/next"
soapenv:mustUnderstand="0" xmlns:ns1="http://t-systems.de"
Hi,
I need to add an element to my SOAP header in a client side handler. In the invoke() method of my handler i can extract the SOAPEnvelope and SOAPHeader. I can create a new SOAPHeaderElement and add that to the soap header. However, I do not want the element to have the mustUnderstand or
I have run into a problem using sessionID in soap header, for .net clients
that uses wsdl.exe generated proxy. I have followed this link to use
SimpleSessionHandler,
http://www.fawcette.com/javapro/2003_04/online/wsdl_kjones_04_29_03/
with which I have successfully made it work for axis, gSoap
Title: SOAP Header changes from 1.1 final to 1.2
Hi,
Are there any changes related to the way SOAP Headers are handled in Axis 1.2? I am setting the headers on the stub in the client side and server doesn't seem to be getting the values. This is working fine in 1.1 final but n
I am targetting the www.whitemesa.net site for interop testing of SOAP
Headers. With ApacheAXIS 1.0, I can sucessfully send and receive soap
headers; however, with ApacheAXIS 1.1, the soap response contains no
header. I have tracked this to AXIS requiring a namespace URI in
org.apache.axis.me
now have a helper class (StartHeader - see
below) that defines the custom header, but
I have no idea how to take this class and create a
SOAP header.
Any help would be fantastic.
/*/
What I need in the S
hi,
i have generated
stub classes using WSDL2Java to create a Client object to post to a Web
Service. however, i need to manipulate the SOAP Header in order to send
Authorization Information before i execute the transaction.
to accomplish that i
just created a org.w3c.dom.Element
entication Information in SOAP Header
Thanks for the suggestions. I understand that you can just typecast
TestTransaction and get a stub object as follows.
TestTransactionSoapBindingStub stub = (TestTransactionSoapBindingStub)
transaction;
But that doesn't solve my problem. Or maybe I am
[EMAIL PROTECTED]
Sent: Monday, December 22, 2003 9:04 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Authentication Information in SOAP Header
Here is what I am specifically doing in my code.
// creating the service locator obj
TestTransactionService serviceLoc
hat I would like to append to the SOAP Header (not the BODY).
Is that possible using the setHeader() method on the Stub or do I have to
use Handlers? If so, are there any examples that anyone knows of that might
be helpful?
Thanks.
-Original Message-
From: Arno Hu
ntime, it will be of type
TestTransactionSoapBindingStub as well).
Kind regards,
Arno Huetter
-Ursprüngliche Nachricht-
Von: Pani, Gourav [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 22. Dezember 2003 15:04
An: '[EMAIL PROTECTED]'
Betreff: RE: Authentication Information in SOAP Header
Here
/code
snippet/reference on how to set authorization data to the soap envelope
header using Handlers?
Thanks.
-Original Message-
From: Pani, Gourav [mailto:[EMAIL PROTECTED]
Sent: Monday, December 22, 2003 9:04 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Authentication Information in SOAP H
EMAIL PROTECTED]
Subject: AW: Authentication Information in SOAP Header
Hi there,
I don't employ a handler, but simply invoke Stub.setHeader() for passing
authentication data - works fine for me.
HTH
Kind regards,
Arno Huetter
-Ursprüngliche Nachricht-
Von: Pani, Gourav [mailto:[EMAIL
EMAIL PROTECTED]
Betreff: Authentication Information in SOAP Header
hi,
i am using axis 1.1 on resin 2.1.10 and am trying to send header level
authentication info to a service. from previous posts and some other
research i have gathered that using handlers would be the right way to go
about it. howev
hi,
i am using axis 1.1
on resin 2.1.10 and am trying to send header level authentication info to a
service. from previous posts and some other research i have gathered that
using handlers would be the right way to go about it. however, i cannot
seem to find any documentation or sample c
Hi
How do I pass info on soap header ? I need to pass some info and want to be able to retrieve it from a provider...Pls guide me to some sample code...Dimuthu Leelarathne <[EMAIL PROTECTED]> wrote:
Hi Mark,You can do the same thing as we did, when we implemented AxisMora.Let's ca
Hi guys,
Since quite some time I have been working in Web services domain.
Could anyone tell me how do I include "header" related configuration in deploy.wsdd.
I need a way to describe header related information in wsdl of the service. Using handlers doesn't satisfy the requirement.
Any hel
Hi,
We need to display all required SOAP Header elements in our WSDL file. How
do I add this into (or what parameters do I need to put into)Server-Config
so that when Axis generates WSDL based on Server-Config entries, the
resulting WSDL should display all required SOAP Header Elements?
Any
Hi,
I have a WSDL file where I have to explicitly show required SOAP Header
Elements. It's fine if I invoke my WSDL file directly. But after I add these
entries in Server-Config, the resulting WSDL fails to show the required SOAP
Header Elements. How do I add this into Server-Config so
Hello,
I search for a (short) way to create a SOAP header from a class which
represents a data type.
The class itself was created by WSDL2Java.
http://optel.test.de/schemas/interface/";
xmlns:ns2="http://optel.test.de/interface";>
21857
I need a object from SOAPHeade
Thank you,
I discovered functions like getHeaders() in my client stub-class? I
expected thy would provide access to SOAP headers?!
Bye Wolfram
Hi Wolfram,
>
> I invoke a service on a server with a request message without any soap
> header, der reponse message has a soap header with a spefieid element,
> a
> transaction id.
>
> How do I read the header or elements in it from a response message?
>
You have to
Hello to all,
I invoke a service on a server with a request message without any soap
header, der reponse message has a soap header with a spefieid element, a
transaction id.
How do I read the header or elements in it from a response message?
Thanks Wolfram
soap header for session maintenance in a web service written
using AXIS. I want to validate the soap header element, which I'm
getting the soap request against the schema of soap header element.
Is there a direct/easy way to do this?
than
Hi
I'm using soap
header for session maintenance in a web service written using AXIS. I want to
validate the soap header element, which I'm getting the soap request against the
schema of soap header element.
Is there a
direct/easy way to do this?
thanks,
Naresh
PROTECTED]
Subject: SOAP Header usage
Does anyone know of one or more public web services that utilize soap
headers? I have checked xmethods.net, but have not seen any.
Specifically, I am looking for WSDL 1.1 implementations of
... contained within the input and output
bindings for an operation
Does anyone know of one or more public web services that utilize soap
headers? I have checked xmethods.net, but have not seen any.
Specifically, I am looking for WSDL 1.1 implementations of
... contained within the input and output
bindings for an operation.
Thanks.
Hi
I'm using Soap header for session maintenace.
As mentioned by WSDL Specs [1], any fault with the soap headers should be indicated by a soap:headerfault element in the soap response header.
I want to ask if there is some fault in soap header, should server also send faultcod
Hi all,
I've written my own provider. If there is some error, it throws an AxisFault with a
fault code, a fault string and a fault detail (that is specified in the wsdl). This
Axis Fault is then translated in a SOAPFault correctly. Now, is there a way to send an
header entry with the Axis Fault?
Jim,
My server sends a bean (Article) to the client, and i have the ClassCasetException in the client stub (which receipts an Article). It works before i try to handle soap header based sessions. I will apply your advice and simplify my code to detect the problem,
thank
Stub.getResponseHeader(String namespace, String
partName)
-Original Message-From: Naresh Agarwal
[mailto:[EMAIL PROTECTED]Sent: Wednesday, August 13, 2003 2:22
AMTo: [EMAIL PROTECTED]Subject: How to extract
Soap header from Web Service client?
Hi
I'm develop
Agarwal [mailto:[EMAIL PROTECTED]Sent: Wednesday, August 13, 2003 2:22 AMTo: [EMAIL PROTECTED]Subject: How to extract Soap header from Web Service client?
Hi
I'm developing a Web Service which uses Soap header based session maintenance.
What is the way to extract the Soap header (in Soap respons
MAIL PROTECTED]
>Sent: Wednesday, August 13, 2003 2:22 AM
>To: [EMAIL PROTECTED]
>Subject: How to extract Soap header from Web Service client?
>
>
>Hi
>
>I'm developing a Web Service which uses Soap header based session maintenance.
>
>What is the way to extract the S
35
À : [EMAIL PROTECTED]; [EMAIL PROTECTED]
Objet : RE: ClassCastException + SOAP Header session
Said,
In your client it seems that you are going to invoke the session handler
twice due to it being in the global and service-specific chains. I would
remove the parts from the global chain so that
Hi
I'm developing a Web Service which uses Soap header based session maintenance.
What is the way to extract the Soap header (in Soap response) at the client side (from the client stubs generated by WSDL2Java)?
thanks,
Naresh
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web
EMAIL PROTECTED]Cc:
[EMAIL PROTECTED]Subject: RE: How to extract Soap
header from Web Service client?
Hi Girish,
There is no such function in Stub interface. Which Axis version are you
referring to ?
thanks,
Naresh
"Manchaiah, Girish (LNG-DAY)"
<[EMAIL
: Thursday, August 14,
2003 10:05 AMTo: [EMAIL PROTECTED]Subject: RE: How
to extract Soap header from Web Service client?
Axis
1.1.I'm sorry it should be,
Stub.getHeader(String namespace, String partName)
and
is
present in parent class of generated client
It sounds like the code that is handling the SOAPHeaders could be wrong
somewhere... I would look at that first.
Jim
-Original Message-
From: Said elaissaoui [mailto:[EMAIL PROTECTED]
Sent: 12 August 2003 08:40
To: [EMAIL PROTECTED]
Subject: RE: ClassCastException + SOAP Header session
t 2003 11:23
To: [EMAIL PROTECTED]
Subject: RE: ClassCastException + SOAP Header session
It still not work.
I reexplain lmy problem :
Axis commes a handler called org.apache.axis.handlers.SimpleSessionHandler
that provides SOAP header based session management. To use the simple
session handler wi
ED]
> Subject: RE: ClassCastException + SOAP Header session
>
>
> Hi,
> I did what you advised me about my client-config.wsdd, but i still have a
> ClasscastException.
>
> this is my server-config.wsdd :
>
>
> http://xml.apache.org/axis/wsdd/";
>
like.
if it fails then u put the SimpleSessionHandler
instead of SimpleSession.
regards,
Jeyakumaran.C
- Original Message -
From: "Said Elaissaoui / 1Genia" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 08, 2003 2:43 PM
Subject: ClassCastExcep
It
still not work.
I
reexplain lmy problem :
Axis
commes a handler called org.apache.axis.handlers.SimpleSessionHandler that provides SOAP header
based session management. To use the simple session handler with the Web
Service, you have to tell the Axis framework to add the handler to
it wa just a mistake in my email i have :
in my wsdd files
-Message d'origine-
De : Jim Harris [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 8 août 2003 11:11
À : [EMAIL PROTECTED]; [EMAIL PROTECTED]
Objet : RE: ClassCastException + SOAP Header session
Said,
One thing I can see is
Hello,
in order to handle sessions in soap header, i have add this line in axis
server-config.wsdd :
..
And i have generate a client-config.wsdd file wich i add to the classpath of
my client :
http://xml.apache.org/axis/wsdd/";
xmlns:java=
it was
just a mistake in my email
-Message d'origine-De : Jeyakumaran.C
[mailto:[EMAIL PROTECTED]Envoyé : vendredi 8
août 2003 11:31À : [EMAIL PROTECTED];
[EMAIL PROTECTED]Objet : Re: ClassCastException + SOAP
Header session
hi,
if i am correct then i thi
Said,
One thing I can see is that you are referencing the SimpleSessionHandler by
the wrong name in the request and response flows of your service:
> type="java:org.apache.axis.handlers.SimpleSessionHandler"/>
>
>
>
>
>
>
>
> ..
>
You give the handler the name 'S
y automatically
> use new property settings in the setHeader object (userInfo) or do/should I
> need to rebuild the header each time the underlying header object changes?
>
> Thanks for your help.
>
> -Chris
>
> > -Original Message-
> > From: Davanum S
or do/should I
need to rebuild the header each time the underlying header object changes?
Thanks for your help.
-Chris
> -Original Message-
> From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 23, 2003 10:20 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>
.net/mappoint-30/";>
>Mile
>
>
>
> Any other suggestions?
>
> I appreciate the help!
>
> -Chris
>
> > -Original Message-
> > From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, July 23, 2003 8:43 AM
essage-
> From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 23, 2003 8:43 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: Problems with SOAP Header and .NET service
>
>
> Try the following to add headers...
> SOAPHeaderElement u
e-
> > From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, July 23, 2003 5:54 AM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: Problems with SOAP Header and .NET service
> >
> >
> > Did you see the code posted by
Srinivas [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 23, 2003 5:54 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: Problems with SOAP Header and .NET service
>
>
> Did you see the code posted by these guys? http://demo.mappoint.net/
>
> -- dims
>
> ---
Did you see the code posted by these guys? http://demo.mappoint.net/
-- dims
--- Chris Means <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've been bashing my head against the wall trying to figure this out...it's
> not as helpful as reading the documentation, but it hurts just as much .
>
> I'm succes
Hi,
I've been bashing my head against the wall trying to figure this out...it's
not as helpful as reading the documentation, but it hurts just as much .
I'm successfully using an Axis 1.1 client to talk to a .NET service. The
WSDL2Java tool worked well for the most part, but there were one or tw
l Message-
From: Bill Buch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 8:01 AM
To: [EMAIL PROTECTED]
Subject: Problems Setting SOAP Header
All,
I looked at the example of setting the SOAP header using the WSDL stubs.
I tried both the SOAPHeaderElement method as well as the
strin
All,
I looked at the example of setting the SOAP header using
the WSDL stubs. I tried both the SOAPHeaderElement method as well as the
string/string/object method. Compiles and runs fine, but no SOAP header
appears in the request, as I am seeing in TCPMON. I have all the required
jars
Hi
Can we support both
"HTTP Cookie" and "Soap Header" based session maintenance in a single Web
Service using AXIS?
Also how can we process (get
and set) the HTTP cookie header in Web Service
implementation.
Any help would be greatly
appreciated!
thanks &
regards,
Naresh
Agarwal
nformation from object.
Is there some similar feature in Axis 1.0 or 1.1? Or is the only way to put
something in the SOAP header is to get access to the header through the call
or through a client side message handler?
Regards,
Len Takeuchi
ssion(false). and even after setting this option
session is still being maintained.
Also In tcpmon the client side soap message keeps on increasing the soap header
"session ID"(which is a field defined by simplesessionhandler) field by one in each
subsequent request i.e. if there was
Hi
I want to write a Web Service using AXIS, which can support session maintenance
through both HTTP cookies and Soap header.
Is there any best practice for doing this?
I need to deploy my service in session scope in order to support HTTP based session
maintenance. However, to support Saop
All,
Call to all the experts on the list. Please help me.
Regards,
Santosh
-Original Message-
Subject: RE: SOAP Message or SOAP Body or SOAP Header access from
endpoint s (H OW TO)
Daniel,
I assume you are saying that process the incoming request in a Handler
(pre-process) and
Daniel,
I assume you are saying that process the incoming request in a Handler
(pre-process) and insert the SOAP Header in the Message Context and then
access the Message Context in the end point or the service implementation.
To start with my question was exactly the same. How do I access
t;
> I have indicated that one can write a AXIS Handler, but that is
> dis-connected processing. i.e. Handler is invoked after or before the end
> point is called, hence the SOAP header or Body or Message viewing ability
> is part of pre-processing or post processing, which is not what is
Dear all,
I am new to Axis. Now I have a question related SOAP Header element in Axis. As we
know, we can use WSDL2Java tool to generate Java classes based on existing WSDL stuff.
However, we I add SOAP Header element, say authentication info, I cannot see any
difference b/t header existing
Albert,
I have indicated that one can write a AXIS Handler, but that is
dis-connected processing. i.e. Handler is invoked after or before the end
point is called, hence the SOAP header or Body or Message viewing ability is
part of pre-processing or post processing, which is not what is intended
I am quoting my own message.
http://marc.theaimsgroup.com/?l=axis-user&m=105650439419684&w=2
this should work.
Quoting [EMAIL PROTECTED]:
> All,
>
> I have recently started to use AXIS and need help on How to access the SOAP
> Message or SOAP body or SOAP Header, with w
All,
I have recently started to use AXIS and need help on How to access the SOAP
Message or SOAP body or SOAP Header, with which a end point was invoked in
the first place.
e.g. I have a interface definition in terms of an WSDL. How do I access the
actual SOAP message delivered on the wire in
Thanks a ton Florian,
Cheers,
Subbu
-Original Message-
From: Florian Lindauer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 6:21 AM
To: [EMAIL PROTECTED]
Subject: Re: SOAP Header for .NET client
small error in my previous mail:
2. Add a message definition like this
small error in my previous mail:
2. Add a message definition like this:
REPLACE second line with:
Samprathi, Subramani non Unisys wrote:
I need to use both request and response headers.
The generated WSDL with axis does not have any request/response header
information.
Is there way to generate this ? is there any command line options in
JAVA2WSDL utility that I am missing?
I don't know for s
Title: HELP: Modify Message Body in Handler
Hello
everybody,
I am
using weblogic and axis with .NET as the webservice
consumer.
I need
to use both request and response headers.
The
generated WSDL with axis does not have any request/response header information.
Is
there way to generate th
MAIL PROTECTED]
Sent: Monday, March 10, 2003 4:20 PM
To: [EMAIL PROTECTED]
Subject: Adding to SOAP Header
How does one add elements to the SOAP Header for application specific data?
Visit our website at http://www.ubswarburg.com
This message contains confidential information and is intended onl
How does one add elements to the SOAP Header for application specific data?
Visit our website at http://www.ubswarburg.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or
I try to add a SOAP header into a SOAP envelope.
1) SOAPEnvelope soapEnv = ;
2) System.out.println("SoapEnv is ..\n" + soapEnv);
3) SOAPHeaderElement hdrElement = new SOAPHeaderElement(new
PrefixedQName("myNamespace","someHeader",
"prefix"
I'm completely missing something, and I'm unable to get WSDL2Java to
generate the appropriate SOAP header. Could someone please send me an
example WSDL file.
Thanks,
Rob
ame="SessionID">
<sequence>
<element name="ID"
minOccurs="1"
maxOccurs="1"
type="xsd:string" />
sequence>
complexType>
The session message:
<wsdl:message name="sessionHeader">
<wsdl:part
Title: Message
Sorry,
have one more question...
How
can I get the SOAP header information to be in the WSDL I thought I had it there
but that was not the case. It's not even in the right place, it's not there at
all so I have two problems.
1. Get
the SOAP header in the WSDL
ave a clue
Thanks!
/Niklas
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] Sent: den 7 januari
2003 16:50To: [EMAIL PROTECTED]Subject: RE: SOAP
header-based sessions and .NET
If
you WSDL contains the corresponding SOAP header information at
Title: Message
If you
WSDL contains the corresponding SOAP header information at the right place, then
.NET will pick it up automatically and the generated code when adding the web
reference will take care of it automatically (check WSDL spec to see how SOAP
headers are declared in the WSDL
Title: Message
Hi!
I've a service in
Axis that uses SOAP header-based sessions it works fine but if I wan't to use
this service from a C# program how do I add the sessionID to the SOAP header in
the request?
Regards!
/Niklas
1 - 100 of 142 matches
Mail list logo