Rico M wrote:
Hi Damitha,
Thanks for your reply. I did jump the gun i guess :)
These are still not resolved :
1) Where is the API documentation ?
http://ws.apache.org/axis2/c/api/html/index.html
This is giving me a 404.
Ah someone need to fix that.
2) How to change envelopes of Soap created via Axis.
i.e. soapenv:Envelope to soap:Envelope.
Does this have any relation to Explicit namespaces ?
If your question is how to change namespace prefix of a soap envelope
sent by Axis2/C client, I guess you can't do this without changing code.
redefine AXIOM_SOAP_DEFAULT_NAMESPACE_PREFIX to soap
Thanks,
Damitha
Thanks & Regards,
Rico
On Fri, Jul 16, 2010 at 3:46 PM, Damitha Kumarage <[email protected]
<mailto:[email protected]>> wrote:
If you just look last few days/weeks mail threads in Axis2/C dev
and user lists you can find answers to most of your questions.
For xml/soap follow a good tutorial.
Thanks,
Damitha
Rico M wrote:
Hi Guys,
I am just starting out with web services. I have some basic
questions, so i hope you can answer them.
1) Where is the API documentation ?
http://ws.apache.org/axis2/c/api/html/index.html
This is giving me a 404.
2) What is the thread safety with using axis functions? Are the
re-entrant ? Has any one wrapped c functions into a C++ class ?
Are there any buffers used which are static/golbal ?
3) This is the example whcih i have managed to compile and
run :
Request :
<soapenv:Envelope
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><greet>Hello
Server!</greet></soapenv:Body></soapenv:Envelope>
what i am trying to build is something like :
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<MYHeader xmlns="http://myorg/1.1/Header/">
<From>
<systemId>string</systemId>
<Credential>
<userName>string</userName>
<password>string</password>
</Credential>
</From>
<To>
<systemId>string</systemId>
</To>
<timeStamp>dateTime</timeStamp>
<echoToken>string</echoToken>
<transactionId>string</transactionId>
<action>string</action>
</MYHeader>
</soap:Header>
<soap:Body>
<Request
xmlns="http://my.org/1.1/Listener.Wsdl">string</Request>
</soap:Body>
</soap:Envelope>
Since i am not much of an XML expert , how do i change tags
like soapenv:Envelope to soap:Envelope.
Cheers!
--
__________________________________________________________________
Damitha Kumarage
Technical Lead; WSO2 Inc.
"Oxygenating the Web Service Platform; " http://www.wso2.com/
blog: " http://damithakumarage.wordpress.com/
__________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
<mailto:[email protected]>
For additional commands, e-mail: [email protected]
<mailto:[email protected]>
--
__________________________________________________________________
Damitha Kumarage
Technical Lead; WSO2 Inc.
"Oxygenating the Web Service Platform; " http://www.wso2.com/
blog: " http://damithakumarage.wordpress.com/
__________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]