<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>axis-c-user@ws.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/"/>
<id>http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/</id>
<updated>2009-12-10T14:31:15Z</updated>
<entry>
<title>Re: [Axis2[ Time for a release?</title>
<author><name>Selvaratnam Uthaiyashankar &lt;uthaiyashankar@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200912.mbox/%3c84cacd920912051857n18c434bi8d2d84f7a3798c76@mail.gmail.com%3e"/>
<id>urn:uuid:%3c84cacd920912051857n18c434bi8d2d84f7a3798c76@mail-gmail-com%3e</id>
<updated>2009-12-06T02:57:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Fri, Dec 4, 2009 at 11:13 PM, Samisa Abeysinghe &lt;samisa@wso2.com&gt; wrote:
&gt; I meant to say, Axis2!

&gt; Samisa...
&gt;
&gt; On Fri, Dec 4, 2009 at 11:08 PM, Samisa Abeysinghe &lt;samisa@wso2.com&gt; wrote:
&gt;&gt;
&gt;&gt; Folks,
&gt;&gt;     I looked at the Jiras after a loooong time and seems that there are
&gt;&gt; quite a number of them as well as few ones with patches from users.
&gt;&gt;     May be it is a good time to fire up a new release. Thoughts are
&gt;&gt; welcome.

+1. I'll go through the Jira and fix them.

What will be the version number? 1.7.0?

Regards,
Shankar



&gt;&gt; Thanks,
&gt;&gt; Samisa...
&gt;&gt; --
&gt;&gt; Samisa Abeysinghe
&gt;&gt; Director, Engineering - WSO2 Inc.
&gt;&gt;
&gt;&gt; http://www.wso2.com/ - "The Open Source SOA Company"
&gt;
&gt;
&gt;
&gt; --
&gt; Samisa Abeysinghe
&gt; Director, Engineering - WSO2 Inc.
&gt;
&gt; http://www.wso2.com/ - "The Open Source SOA Company"
&gt;



-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: DLL path for libTestCases_t.so is set to libTestCases.so</title>
<author><name>gsherwood@att.net</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200912.mbox/%3c120520090216.19378.4B19C274000D23F200004BB222218865869B0A02D29B9B0EBF0B0101999D0A089C09@att.net%3e"/>
<id>urn:uuid:%3c120520090216-19378-4B19C274000D23F200004BB222218865869B0A02D29B9B0EBF0B0101999D0A089C09@att-net%3e</id>
<updated>2009-12-05T02:16:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>


Samisa,
Thanks for the response. I mentioned the _t because when I posted the message, the ONLY difference
between the two services was their names. One has the _t and the other does not. So it seemed
likely to me that the different behavior was related to their different names. This is not
a big problem for me because I think I have a workaround. I guessed that the Axis2/C team
would either recognize what's happening here, or would want to understand it sometime.
Best regards,
George
-------------- Forwarded Message: --------------
From: Samisa Abeysinghe &lt;samisa@wso2.com&gt;
To: Apache AXIS C User List &lt;axis-c-user@ws.apache.org&gt;
Subject: Re: DLL path for libTestCases_t.so is set to libTestCases.so
Date: Fri, 04 Dec 2009 17:19:58 +0000

AFAICT, _t has nothing to do with the problem you are facing. 


Samisa...


On Wed, Oct 28, 2009 at 5:19 AM,  &lt;gsherwood@att.net&gt; wrote:

I have set up two services which (for now) are identical except for their names, TestCases
and TestCases_t. The choice of the suffix _t is historical and has nothing to do with type
names. libTestCases.so and libTestCases_t.so are placed in their respective directories:
/usr/local/www/64.232.245.115/axis2c/services/TestCases and
/usr/local/www/64.232.245.115/axis2c/services/TestCases_t
However, log entries indicate the DLL path for libTestCases_t.so is not getting set correctly.
Relevant entries include the following.
[Tue Oct 27 19:22:33 2009] [debug] svc_builder.c(318) DLL path is : /usr/local/www/64.232.245.115/axis2c/services/TestCases/libTestCases.so

[Tue Oct 27 19:22:33 2009] [debug] om_element.c(1114) There are no child elements for the
node
[Tue Oct 27 19:22:33 2009] [debug] svc_builder.c(318) DLL path is : /usr/local/www/64.232.245.115/axis2c/services/TestCases_t/libTestCases.so
[Tue Oct 27 19:22:33 2009] [debug] om_element.c(1114) There are no child elements for the
node
...
[Tue Oct 27 19:22:33 2009] [error] class_loader.c(162) Loading shared library /usr/local/www/64.232.245.115/axis2c/services/TestCases_t/libTestCases.so
 Failed. DLERROR IS /usr/local/www/64.232.245.115/axis2c/services/TestCases_t/libTestCases.so:
cannot open shared object file: No such file or directory
If I depart from the usual naming convention (i.e. libTestCases_t.so for TestCases_t), and
use the name in the DLL path instead (libTestCases.so), then the service works.
Can anyone help with answers to these questions?
1. Is this behavior (dropping the _t suffix) a bug or a feature?
2. Is setting the name to the DLL path indicated in the log a legitimate workaround?
3. Am I likely to encounter future trouble with a service name ending in _t?
Thanks,
George Sherwood
Testcover.com




-- 
Samisa Abeysinghe 
Director, Engineering - WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: using faults w/ wsdl2c</title>
<author><name>Samisa Abeysinghe &lt;samisa@wso2.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200912.mbox/%3cf9460b9a0912041626k156a94dhd48ef2a2fc9ebb5f@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf9460b9a0912041626k156a94dhd48ef2a2fc9ebb5f@mail-gmail-com%3e</id>
<updated>2009-12-05T00:26:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Fri, Dec 4, 2009 at 11:09 PM, Sam Carleton &lt;scarleton@gmail.com&gt; wrote:

&gt; Dimuthu,
&gt;
&gt; Where EXACTLY does one find the latest WSDL2C code?  Is it in an build or
&gt; is it in the Axis2/Java SVN repository?
&gt;

Axis2 svn.

Samisa...


&gt;
&gt; Sam
&gt;
&gt;
&gt; On Thu, Dec 3, 2009 at 10:57 PM, Dimuthu Gamage &lt;dimuthuc@gmail.com&gt;wrote:
&gt;
&gt;&gt; Hi,
&gt;&gt;
&gt;&gt; If you use the latest axis2 WSDL2C generator code, you don't need to
&gt;&gt; create soap fault message manually as the generated code provide lot of
&gt;&gt; support in generating fault message.
&gt;&gt;
&gt;&gt; Please have a look at this for the improved API,
&gt;&gt; http://www.dimuthu.org/blog/2009/02/09/code-generate-custom-soap-faults-for-axis2c/
&gt;&gt;
&gt;&gt;
&gt;&gt; Thanks
&gt;&gt; Dimuthu
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; On Wed, Nov 18, 2009 at 3:49 AM, Doug Price &lt;Doug.Price@presagis.com&gt;wrote:
&gt;&gt;
&gt;&gt;&gt; While I see that this approach allows the creation of user-defined fault
&gt;&gt;&gt; types, is it possible to also use it to specify the standard SOAP-ENV:Fault?
&gt;&gt;&gt;  I see a struct named axiom_soap_fault_t in the distribution, but I can't
&gt;&gt;&gt; seem to return it from the axis2_svc_skel_*_on_fault() function because it
&gt;&gt;&gt; requires a pointer to the SOAP body to create one.  Is there some other way
&gt;&gt;&gt; to return a standard SOAP fault from a service?
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; --
&gt;&gt;&gt; Doug Price
&gt;&gt;&gt; Research Director | Presagis
&gt;&gt;&gt;
&gt;&gt;&gt; T. +1 972 943.2433  F. +1 469 467.4564  C. +1 469 867.8399
&gt;&gt;&gt;
&gt;&gt;&gt; DISCLAIMER: This e-mail message is for the sole use of the intended
&gt;&gt;&gt; recipient(s) and may contain confidential and/or proprietary information. Do
&gt;&gt;&gt; not read, copy, or disseminate this message unless you are the addressee.
&gt;&gt;&gt; Any unauthorized review, use, disclosure or distribution is strictly
&gt;&gt;&gt; prohibited. If you have received this message in error, please contact the
&gt;&gt;&gt; sender by reply e-mail and delete the original and any copies from your
&gt;&gt;&gt; system.
&gt;&gt;&gt;
&gt;&gt;&gt; -----Original Message-----
&gt;&gt;&gt;
&gt;&gt;&gt; From: Amir Mousavizadegan [mailto:amir.mousavizadegan@cox.net]
&gt;&gt;&gt; Sent: Tuesday, November 17, 2009 10:29 AM
&gt;&gt;&gt; To: Apache AXIS C User List
&gt;&gt;&gt; Subject: Re: using faults w/ wsdl2c
&gt;&gt;&gt;
&gt;&gt;&gt; I did not write the sample codes  nor the document,  however  in order to
&gt;&gt;&gt; get it working, you have to change the body of the generated  code, or
&gt;&gt;&gt; create a replacement function as I did.
&gt;&gt;&gt; thx
&gt;&gt;&gt; Amir
&gt;&gt;&gt; ----- Original Message -----
&gt;&gt;&gt; From: "Doug Price" &lt;Doug.Price@presagis.com&gt;
&gt;&gt;&gt; To: "Apache AXIS C User List" &lt;axis-c-user@ws.apache.org&gt;
&gt;&gt;&gt; Sent: Tuesday, November 17, 2009 11:05 AM
&gt;&gt;&gt; Subject: RE: using faults w/ wsdl2c
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Just what I was looking for.  Thanks so much.
&gt;&gt;&gt;
&gt;&gt;&gt; A quick follow up question on the code though.  Is there a reason that
&gt;&gt;&gt; axis2_svc_skel_Division_on_fault() doesn't use the adv_divFault api to
&gt;&gt;&gt; create the fault?
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; --
&gt;&gt;&gt; Doug Price
&gt;&gt;&gt; Research Director | Presagis
&gt;&gt;&gt;
&gt;&gt;&gt; T. +1 972 943.2433  F. +1 469 467.4564  C. +1 469 867.8399
&gt;&gt;&gt;
&gt;&gt;&gt; DISCLAIMER: This e-mail message is for the sole use of the intended
&gt;&gt;&gt; recipient(s) and may contain confidential and/or proprietary information.
&gt;&gt;&gt; Do
&gt;&gt;&gt; not read, copy, or disseminate this message unless you are the addressee.
&gt;&gt;&gt; Any unauthorized review, use, disclosure or distribution is strictly
&gt;&gt;&gt; prohibited. If you have received this message in error, please contact
&gt;&gt;&gt; the
&gt;&gt;&gt; sender by reply e-mail and delete the original and any copies from your
&gt;&gt;&gt; system.
&gt;&gt;&gt;
&gt;&gt;&gt; -----Original Message-----
&gt;&gt;&gt;
&gt;&gt;&gt; From: Amir Mousavizadegan [mailto:amir.mousavizadegan@cox.net]
&gt;&gt;&gt; Sent: Tuesday, November 17, 2009 7:52 AM
&gt;&gt;&gt; To: Apache AXIS C User List
&gt;&gt;&gt; Subject: Re: using faults w/ wsdl2c
&gt;&gt;&gt;
&gt;&gt;&gt; Please see attached document
&gt;&gt;&gt; ----- Original Message -----
&gt;&gt;&gt; From: "Doug Price" &lt;Doug.Price@presagis.com&gt;
&gt;&gt;&gt; To: &lt;axis-c-user@ws.apache.org&gt;
&gt;&gt;&gt; Sent: Monday, November 16, 2009 4:47 PM
&gt;&gt;&gt; Subject: using faults w/ wsdl2c
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; I created a simple web service w/ Axis2c using wsdl2c on a WSDL file I
&gt;&gt;&gt; created in Eclipse.  The default functionality of this works fine.
&gt;&gt;&gt;  However,
&gt;&gt;&gt; now I'd like to incorporate faults into my SOAP messages.  I created a
&gt;&gt;&gt; fault
&gt;&gt;&gt; type in my WSDL and wsdl2c creates the wrappers for the fault message,
&gt;&gt;&gt; but
&gt;&gt;&gt; the service skeleton and client stubs files seem to hard coded to assume
&gt;&gt;&gt; no
&gt;&gt;&gt; faults are ever sent / received.  For example, the client
&gt;&gt;&gt; axis2_stub_op_*()
&gt;&gt;&gt; function takes my request message type and returns my response message
&gt;&gt;&gt; type,
&gt;&gt;&gt; but doesn't seem to account for my fault type.  Modifying the code, I can
&gt;&gt;&gt; see that the fault is received and correctly deserialized, but I'll have
&gt;&gt;&gt; to
&gt;&gt;&gt; continually hand edit the axis2_stub*.c and my client.c file as I make
&gt;&gt;&gt; modifications to my WSDL in order to make this work.
&gt;&gt;&gt;
&gt;&gt;&gt; The same is true on the service side w/ the axis2_skel*() functions.  Am
&gt;&gt;&gt; I
&gt;&gt;&gt; missing something here, or are faults not supported w/ wsdl2c?
&gt;&gt;&gt;
&gt;&gt;&gt; --
&gt;&gt;&gt; Doug Price
&gt;&gt;&gt; Research Director | Presagis
&gt;&gt;&gt;
&gt;&gt;&gt; T. +1 972 943.2433 F. +1 469 467.4564 C. +1 469 867.8399
&gt;&gt;&gt;
&gt;&gt;&gt; DISCLAIMER: This e-mail message is for the sole use of the intended
&gt;&gt;&gt; recipient(s) and may contain confidential and/or proprietary information.
&gt;&gt;&gt; Do
&gt;&gt;&gt; not read, copy, or disseminate this message unless you are the addressee.
&gt;&gt;&gt; Any unauthorized review, use, disclosure or distribution is strictly
&gt;&gt;&gt; prohibited. If you have received this message in error, please contact
&gt;&gt;&gt; the
&gt;&gt;&gt; sender by reply e-mail and delete the original and any copies from your
&gt;&gt;&gt; system.
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; --
&gt;&gt; Thanks,
&gt;&gt; Dimuthu Gamage
&gt;&gt;
&gt;&gt; http://www.dimuthu.org
&gt;&gt; http://www.wso2.org
&gt;&gt;
&gt;
&gt;


-- 
Samisa Abeysinghe
Director, Engineering - WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: echo_rest and DELETE http_method</title>
<author><name>Dimuthu Gamage &lt;dimuthuc@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200912.mbox/%3ca9dcda00912041007o6996be73wdd4f1c4868f37896@mail.gmail.com%3e"/>
<id>urn:uuid:%3ca9dcda00912041007o6996be73wdd4f1c4868f37896@mail-gmail-com%3e</id>
<updated>2009-12-04T18:07:41Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,
I also try the REST delete and it is failing. Looks like a bug in the code
in trunk. Can you please report this bug in axis2/c jira

Thanks
Dimuthu

On Wed, Nov 25, 2009 at 2:09 AM, Ilia Gilderman
&lt;ilia.gilderman@xeround.com&gt;wrote:

&gt;  Yes, sure I did this
&gt;
&gt;
&gt;  ------------------------------
&gt;
&gt; *From:* Supun Kamburugamuva [mailto:supun06@gmail.com]
&gt; *Sent:* Tuesday, November 24, 2009 10:36 PM
&gt; *To:* Apache AXIS C User List
&gt; *Subject:* Re: echo_rest and DELETE http_method
&gt;
&gt;
&gt;
&gt; Hi,
&gt;
&gt; Not sure weather you have done this, but AFAIK you need to edit the
&gt; services.xml file to make them work.
&gt;
&gt; Thanks,
&gt; Supun.
&gt;
&gt; On Fri, Nov 20, 2009 at 7:19 PM, Ilia Gilderman &lt;
&gt; ilia.gilderman@xeround.com&gt; wrote:
&gt;
&gt; Hi
&gt;
&gt; It looks like the DELETE pieces does not work. I tried with
&gt; simple_axis2_server and mod_axis2 modules and echo_rest example. When I'm
&gt; adding –mDELETE option I got internal servers error (500) from httpd. Is it
&gt; known issue? What can be wrong with the sample?
&gt;
&gt;
&gt;
&gt; Thanks
&gt;
&gt;
&gt;
&gt; *Ilia Gilderman**, VP Product Development
&gt; **x**eround*
&gt;
&gt; *4 Derech Hahoresh St**.
&gt; P.O. Box 12621
&gt; **Yehud, 56470 Israel*
&gt; *Office:   +972-3-5390617
&gt; Mobile: +972-54-4878091*
&gt;
&gt; ilia.gilderman@xeround.com
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; --
&gt; Software Engineer, WSO2 Inc
&gt; http://wso2.org
&gt; supunk.blogspot.com
&gt;
&gt;


-- 
Thanks,
Dimuthu Gamage

http://www.dimuthu.org
http://www.wso2.org


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: rampart/c http tutorial</title>
<author><name>Adam Edgar &lt;aedgar@research.att.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200912.mbox/%3c1259949288.5172.132.camel@localhost%3e"/>
<id>urn:uuid:%3c1259949288-5172-132-camel@localhost%3e</id>
<updated>2009-12-04T17:54:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Fri, 2009-12-04 at 22:59 +0530, Samisa Abeysinghe wrote:

&gt; You need to enable https in the axis2.xml conf file
&gt; 

Ah, thanks one step closer. 

I still need to figure out how to see the exact xml that is being sent
and received from the server. I am getting a fault back and I suspect it
is because the WSSE header information is not correct. I should be
sending something like this to the server:

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"  
    xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
    xmlns:c14n="http://www.w3.org/2001/10/xml-exc-c14n#" 
    xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401..." 
    xmlns:ds="http://www.w3.org/2000/09/xmldsig#" 
    xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis..."    
    xmlns:negdb="http://secure.negativeaddress.research.att.com/"
  &gt;
    &lt;SOAP-ENV:Header&gt;
       &lt;wsse:Security SOAP-ENV:mustUnderstand="true"&gt;
         &lt;wsse:UsernameToken 
            wsu:Id="apache"
         &gt;
             &lt;wsse:Username&gt;apache&lt;/wsse:Username&gt;
             &lt;wsse:Password Type="http://docs.oasis-open.org/wss..."&gt;
                 password
             &lt;/wsse:Password&gt;
         &lt;/wsse:UsernameToken&gt;
       &lt;/wsse:Security&gt;
     &lt;/SOAP-ENV:Header&gt;
&lt;SOAP-ENV:Body&gt; 
... 
While I think I've engaged rampart properly to add the header
information, the debugging log does not include the data sent to the
server.

ASE




</pre>
</div>
</content>
</entry>
<entry>
<title>[Axis2[ Time for a release?</title>
<author><name>Samisa Abeysinghe &lt;samisa@wso2.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200912.mbox/%3cf9460b9a0912040943u1873e799v1974d6434fb1d539@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf9460b9a0912040943u1873e799v1974d6434fb1d539@mail-gmail-com%3e</id>
<updated>2009-12-04T17:43:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I meant to say, Axis2!

Samisa...

On Fri, Dec 4, 2009 at 11:08 PM, Samisa Abeysinghe &lt;samisa@wso2.com&gt; wrote:

&gt; Folks,
&gt;     I looked at the Jiras after a loooong time and seems that there are
&gt; quite a number of them as well as few ones with patches from users.
&gt;
&gt;     May be it is a good time to fire up a new release. Thoughts are
&gt; welcome.
&gt;
&gt; Thanks,
&gt; Samisa...
&gt;
&gt; --
&gt; Samisa Abeysinghe
&gt; Director, Engineering - WSO2 Inc.
&gt;
&gt; http://www.wso2.com/ - "The Open Source SOA Company"
&gt;



-- 
Samisa Abeysinghe
Director, Engineering - WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: using faults w/ wsdl2c</title>
<author><name>Sam Carleton &lt;scarleton@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200912.mbox/%3c8d38ca0a0912040939t49ad4faq27d8fdf854ac25d8@mail.gmail.com%3e"/>
<id>urn:uuid:%3c8d38ca0a0912040939t49ad4faq27d8fdf854ac25d8@mail-gmail-com%3e</id>
<updated>2009-12-04T17:39:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Dimuthu,

Where EXACTLY does one find the latest WSDL2C code?  Is it in an build or is
it in the Axis2/Java SVN repository?

Sam

On Thu, Dec 3, 2009 at 10:57 PM, Dimuthu Gamage &lt;dimuthuc@gmail.com&gt; wrote:

&gt; Hi,
&gt;
&gt; If you use the latest axis2 WSDL2C generator code, you don't need to create
&gt; soap fault message manually as the generated code provide lot of support in
&gt; generating fault message.
&gt;
&gt; Please have a look at this for the improved API,
&gt; http://www.dimuthu.org/blog/2009/02/09/code-generate-custom-soap-faults-for-axis2c/
&gt;
&gt;
&gt; Thanks
&gt; Dimuthu
&gt;
&gt;
&gt;
&gt; On Wed, Nov 18, 2009 at 3:49 AM, Doug Price &lt;Doug.Price@presagis.com&gt;wrote:
&gt;
&gt;&gt; While I see that this approach allows the creation of user-defined fault
&gt;&gt; types, is it possible to also use it to specify the standard SOAP-ENV:Fault?
&gt;&gt;  I see a struct named axiom_soap_fault_t in the distribution, but I can't
&gt;&gt; seem to return it from the axis2_svc_skel_*_on_fault() function because it
&gt;&gt; requires a pointer to the SOAP body to create one.  Is there some other way
&gt;&gt; to return a standard SOAP fault from a service?
&gt;&gt;
&gt;&gt;
&gt;&gt; --
&gt;&gt; Doug Price
&gt;&gt; Research Director | Presagis
&gt;&gt;
&gt;&gt; T. +1 972 943.2433  F. +1 469 467.4564  C. +1 469 867.8399
&gt;&gt;
&gt;&gt; DISCLAIMER: This e-mail message is for the sole use of the intended
&gt;&gt; recipient(s) and may contain confidential and/or proprietary information. Do
&gt;&gt; not read, copy, or disseminate this message unless you are the addressee.
&gt;&gt; Any unauthorized review, use, disclosure or distribution is strictly
&gt;&gt; prohibited. If you have received this message in error, please contact the
&gt;&gt; sender by reply e-mail and delete the original and any copies from your
&gt;&gt; system.
&gt;&gt;
&gt;&gt; -----Original Message-----
&gt;&gt;
&gt;&gt; From: Amir Mousavizadegan [mailto:amir.mousavizadegan@cox.net]
&gt;&gt; Sent: Tuesday, November 17, 2009 10:29 AM
&gt;&gt; To: Apache AXIS C User List
&gt;&gt; Subject: Re: using faults w/ wsdl2c
&gt;&gt;
&gt;&gt; I did not write the sample codes  nor the document,  however  in order to
&gt;&gt; get it working, you have to change the body of the generated  code, or
&gt;&gt; create a replacement function as I did.
&gt;&gt; thx
&gt;&gt; Amir
&gt;&gt; ----- Original Message -----
&gt;&gt; From: "Doug Price" &lt;Doug.Price@presagis.com&gt;
&gt;&gt; To: "Apache AXIS C User List" &lt;axis-c-user@ws.apache.org&gt;
&gt;&gt; Sent: Tuesday, November 17, 2009 11:05 AM
&gt;&gt; Subject: RE: using faults w/ wsdl2c
&gt;&gt;
&gt;&gt;
&gt;&gt; Just what I was looking for.  Thanks so much.
&gt;&gt;
&gt;&gt; A quick follow up question on the code though.  Is there a reason that
&gt;&gt; axis2_svc_skel_Division_on_fault() doesn't use the adv_divFault api to
&gt;&gt; create the fault?
&gt;&gt;
&gt;&gt;
&gt;&gt; --
&gt;&gt; Doug Price
&gt;&gt; Research Director | Presagis
&gt;&gt;
&gt;&gt; T. +1 972 943.2433  F. +1 469 467.4564  C. +1 469 867.8399
&gt;&gt;
&gt;&gt; DISCLAIMER: This e-mail message is for the sole use of the intended
&gt;&gt; recipient(s) and may contain confidential and/or proprietary information.
&gt;&gt; Do
&gt;&gt; not read, copy, or disseminate this message unless you are the addressee.
&gt;&gt; Any unauthorized review, use, disclosure or distribution is strictly
&gt;&gt; prohibited. If you have received this message in error, please contact the
&gt;&gt; sender by reply e-mail and delete the original and any copies from your
&gt;&gt; system.
&gt;&gt;
&gt;&gt; -----Original Message-----
&gt;&gt;
&gt;&gt; From: Amir Mousavizadegan [mailto:amir.mousavizadegan@cox.net]
&gt;&gt; Sent: Tuesday, November 17, 2009 7:52 AM
&gt;&gt; To: Apache AXIS C User List
&gt;&gt; Subject: Re: using faults w/ wsdl2c
&gt;&gt;
&gt;&gt; Please see attached document
&gt;&gt; ----- Original Message -----
&gt;&gt; From: "Doug Price" &lt;Doug.Price@presagis.com&gt;
&gt;&gt; To: &lt;axis-c-user@ws.apache.org&gt;
&gt;&gt; Sent: Monday, November 16, 2009 4:47 PM
&gt;&gt; Subject: using faults w/ wsdl2c
&gt;&gt;
&gt;&gt;
&gt;&gt; I created a simple web service w/ Axis2c using wsdl2c on a WSDL file I
&gt;&gt; created in Eclipse.  The default functionality of this works fine.
&gt;&gt;  However,
&gt;&gt; now I'd like to incorporate faults into my SOAP messages.  I created a
&gt;&gt; fault
&gt;&gt; type in my WSDL and wsdl2c creates the wrappers for the fault message, but
&gt;&gt; the service skeleton and client stubs files seem to hard coded to assume
&gt;&gt; no
&gt;&gt; faults are ever sent / received.  For example, the client
&gt;&gt; axis2_stub_op_*()
&gt;&gt; function takes my request message type and returns my response message
&gt;&gt; type,
&gt;&gt; but doesn't seem to account for my fault type.  Modifying the code, I can
&gt;&gt; see that the fault is received and correctly deserialized, but I'll have
&gt;&gt; to
&gt;&gt; continually hand edit the axis2_stub*.c and my client.c file as I make
&gt;&gt; modifications to my WSDL in order to make this work.
&gt;&gt;
&gt;&gt; The same is true on the service side w/ the axis2_skel*() functions.  Am I
&gt;&gt; missing something here, or are faults not supported w/ wsdl2c?
&gt;&gt;
&gt;&gt; --
&gt;&gt; Doug Price
&gt;&gt; Research Director | Presagis
&gt;&gt;
&gt;&gt; T. +1 972 943.2433 F. +1 469 467.4564 C. +1 469 867.8399
&gt;&gt;
&gt;&gt; DISCLAIMER: This e-mail message is for the sole use of the intended
&gt;&gt; recipient(s) and may contain confidential and/or proprietary information.
&gt;&gt; Do
&gt;&gt; not read, copy, or disseminate this message unless you are the addressee.
&gt;&gt; Any unauthorized review, use, disclosure or distribution is strictly
&gt;&gt; prohibited. If you have received this message in error, please contact the
&gt;&gt; sender by reply e-mail and delete the original and any copies from your
&gt;&gt; system.
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;
&gt;
&gt; --
&gt; Thanks,
&gt; Dimuthu Gamage
&gt;
&gt; http://www.dimuthu.org
&gt; http://www.wso2.org
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Time for a release?</title>
<author><name>Samisa Abeysinghe &lt;samisa@wso2.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200912.mbox/%3cf9460b9a0912040938q1f5af082u82dd3a004037509f@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf9460b9a0912040938q1f5af082u82dd3a004037509f@mail-gmail-com%3e</id>
<updated>2009-12-04T17:38:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Folks,
    I looked at the Jiras after a loooong time and seems that there are
quite a number of them as well as few ones with patches from users.

    May be it is a good time to fire up a new release. Thoughts are welcome.

Thanks,
Samisa...

-- 
Samisa Abeysinghe
Director, Engineering - WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: rampart/c http tutorial</title>
<author><name>Samisa Abeysinghe &lt;samisa@wso2.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200912.mbox/%3cf9460b9a0912040929w602ea5d8j50e471d57390da8f@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf9460b9a0912040929w602ea5d8j50e471d57390da8f@mail-gmail-com%3e</id>
<updated>2009-12-04T17:29:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Fri, Dec 4, 2009 at 10:53 PM, Adam Edgar &lt;aedgar@research.att.com&gt; wrote:

&gt; I think I've managed to get some of it working but can't tell if the
&gt; proper headers are being generated. Is there a way to dump the traffic
&gt; being sent to the server?
&gt;
&gt; Also when I try :
&gt;
&gt; url="https://localhost:8443/axis2/services/NegativeAddressSecureService";
&gt; stub = axis2_stub_create_NegativeAddressSecureService(env,home,url);
&gt;
&gt; I get :
&gt;
&gt; op_client.c(949) Cannot infer transport
&gt; op_client.c(954) End:axis2_op_client_infer_transport
&gt; op_client.c(407) Op client execute failed. Cannot find transport out.
&gt;
&gt;
&gt; Is there something I need to do to enable https as it doesn't fail for
&gt; http?
&gt;

You need to enable https in the axis2.xml conf file

Samisa...


&gt; ASE
&gt;
&gt;
&gt; On Fri, 2009-12-04 at 22:42 +0530, Samisa Abeysinghe wrote:
&gt; &gt; Rampart is an independent project. Hence, the generated code does not
&gt; &gt; have Rampart specific stuff.
&gt; &gt;
&gt; &gt;
&gt; &gt; For Rampart stuff, you have to engage the module and provide the
&gt; &gt; security policies etc at client level programatically.
&gt; &gt;
&gt; &gt;
&gt; &gt; Samisa...
&gt; &gt;
&gt; &gt; On Fri, Dec 4, 2009 at 10:39 PM, Adam Edgar &lt;aedgar@research.att.com&gt;
&gt; &gt; wrote:
&gt; &gt;         Is there a good start to finish tutorial for rampart/c for
&gt; &gt;         creating a
&gt; &gt;         client starting with a WSDL file? Basically, right no I have
&gt; &gt;         written a
&gt; &gt;         WSDL and used wsdl2c to generate the source for the client but
&gt; &gt;         it does
&gt; &gt;         not seem to have any rampart code in it. If I run the server
&gt; &gt;         without
&gt; &gt;         WSSE it works but not when I try to secure it. I've managed to
&gt; &gt;         find
&gt; &gt;         documentation scattered about but nothing comprehensive.
&gt; &gt;
&gt; &gt;         All I'm trying to do is use UserName/Password authentication
&gt; &gt;         across
&gt; &gt;         https. This is probably real simple but I can't seem to find
&gt; &gt;         the last
&gt; &gt;         little bit of info to get it done.
&gt; &gt;
&gt; &gt;         ASE
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; --
&gt; &gt; Samisa Abeysinghe
&gt; &gt; Director, Engineering - WSO2 Inc.
&gt; &gt;
&gt; &gt; http://www.wso2.com/ - "The Open Source SOA Company"
&gt; &gt;
&gt;
&gt;
&gt;


-- 
Samisa Abeysinghe
Director, Engineering - WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: rampart/c http tutorial</title>
<author><name>Adam Edgar &lt;aedgar@research.att.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200912.mbox/%3c1259947439.5172.83.camel@localhost%3e"/>
<id>urn:uuid:%3c1259947439-5172-83-camel@localhost%3e</id>
<updated>2009-12-04T17:23:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I think I've managed to get some of it working but can't tell if the
proper headers are being generated. Is there a way to dump the traffic
being sent to the server?

Also when I try :

url="https://localhost:8443/axis2/services/NegativeAddressSecureService";
stub = axis2_stub_create_NegativeAddressSecureService(env,home,url);

I get :

op_client.c(949) Cannot infer transport
op_client.c(954) End:axis2_op_client_infer_transport
op_client.c(407) Op client execute failed. Cannot find transport out.


Is there something I need to do to enable https as it doesn't fail for
http?

ASE


On Fri, 2009-12-04 at 22:42 +0530, Samisa Abeysinghe wrote:
&gt; Rampart is an independent project. Hence, the generated code does not
&gt; have Rampart specific stuff. 
&gt; 
&gt; 
&gt; For Rampart stuff, you have to engage the module and provide the
&gt; security policies etc at client level programatically. 
&gt; 
&gt; 
&gt; Samisa...
&gt; 
&gt; On Fri, Dec 4, 2009 at 10:39 PM, Adam Edgar &lt;aedgar@research.att.com&gt;
&gt; wrote:
&gt;         Is there a good start to finish tutorial for rampart/c for
&gt;         creating a
&gt;         client starting with a WSDL file? Basically, right no I have
&gt;         written a
&gt;         WSDL and used wsdl2c to generate the source for the client but
&gt;         it does
&gt;         not seem to have any rampart code in it. If I run the server
&gt;         without
&gt;         WSSE it works but not when I try to secure it. I've managed to
&gt;         find
&gt;         documentation scattered about but nothing comprehensive.
&gt;         
&gt;         All I'm trying to do is use UserName/Password authentication
&gt;         across
&gt;         https. This is probably real simple but I can't seem to find
&gt;         the last
&gt;         little bit of info to get it done.
&gt;         
&gt;         ASE
&gt;         
&gt; 
&gt; 
&gt; 
&gt; -- 
&gt; Samisa Abeysinghe 
&gt; Director, Engineering - WSO2 Inc.
&gt; 
&gt; http://www.wso2.com/ - "The Open Source SOA Company"
&gt; 




</pre>
</div>
</content>
</entry>
<entry>
<title>Re: DLL path for libTestCases_t.so is set to libTestCases.so</title>
<author><name>Samisa Abeysinghe &lt;samisa@wso2.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200912.mbox/%3cf9460b9a0912040917s326895d4ie7c5063d5f414e4e@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf9460b9a0912040917s326895d4ie7c5063d5f414e4e@mail-gmail-com%3e</id>
<updated>2009-12-04T17:17:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
AFAICT, _t has nothing to do with the problem you are facing.

Samisa...

On Wed, Oct 28, 2009 at 5:19 AM, &lt;gsherwood@att.net&gt; wrote:

&gt;  I have set up two services which (for now) are identical except for their
&gt; names, TestCases and TestCases_t. The choice of the suffix _t is historical
&gt; and has nothing to do with type names. libTestCases.so and libTestCases_t.so
&gt; are placed in their respective directories:
&gt; /usr/local/www/64.232.245.115/axis2c/services/TestCases and
&gt; /usr/local/www/64.232.245.115/axis2c/services/TestCases_t
&gt; However, log entries indicate the DLL path for libTestCases_t.so is not
&gt; getting set correctly. Relevant entries include the following.
&gt; [Tue Oct 27 19:22:33 2009] [debug] svc_builder.c(318) DLL path is :
&gt; /usr/local/www/64.232.245.115/axis2c/services/TestCases/libTestCases.so
&gt; [Tue Oct 27 19:22:33 2009] [debug] om_element.c(1114) There are no child
&gt; elements for the node
&gt; [Tue Oct 27 19:22:33 2009] [debug] svc_builder.c(318) DLL path is :
&gt; /usr/local/www/64.232.245.115/axis2c/services/TestCases_t/libTestCases.so
&gt; [Tue Oct 27 19:22:33 2009] [debug] om_element.c(1114) There are no child
&gt; elements for the node
&gt; ...
&gt; [Tue Oct 27 19:22:33 2009] [error] class_loader.c(162) Loading shared
&gt; library /usr/local/www/
&gt; 64.232.245.115/axis2c/services/TestCases_t/libTestCases.so  Failed.
&gt; DLERROR IS /usr/local/www/
&gt; 64.232.245.115/axis2c/services/TestCases_t/libTestCases.so: cannot open
&gt; shared object file: No such file or directory
&gt; If I depart from the usual naming convention (i.e. libTestCases_t.so for
&gt; TestCases_t), and use the name in the DLL path instead (libTestCases.so),
&gt; then the service works.
&gt; Can anyone help with answers to these questions?
&gt; 1. Is this behavior (dropping the _t suffix) a bug or a feature?
&gt; 2. Is setting the name to the DLL path indicated in the log a legitimate
&gt; workaround?
&gt; 3. Am I likely to encounter future trouble with a service name ending in
&gt; _t?
&gt; Thanks,
&gt; George Sherwood
&gt; Testcover.com
&gt;
&gt;
&gt;


-- 
Samisa Abeysinghe
Director, Engineering - WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: rampart/c http tutorial</title>
<author><name>Samisa Abeysinghe &lt;samisa@wso2.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200912.mbox/%3cf9460b9a0912040912m7f07aeeaw28e94f531558ca3c@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf9460b9a0912040912m7f07aeeaw28e94f531558ca3c@mail-gmail-com%3e</id>
<updated>2009-12-04T17:12:24Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Rampart is an independent project. Hence, the generated code does not have
Rampart specific stuff.

For Rampart stuff, you have to engage the module and provide the security
policies etc at client level programatically.

Samisa...

On Fri, Dec 4, 2009 at 10:39 PM, Adam Edgar &lt;aedgar@research.att.com&gt; wrote:

&gt; Is there a good start to finish tutorial for rampart/c for creating a
&gt; client starting with a WSDL file? Basically, right no I have written a
&gt; WSDL and used wsdl2c to generate the source for the client but it does
&gt; not seem to have any rampart code in it. If I run the server without
&gt; WSSE it works but not when I try to secure it. I've managed to find
&gt; documentation scattered about but nothing comprehensive.
&gt;
&gt; All I'm trying to do is use UserName/Password authentication across
&gt; https. This is probably real simple but I can't seem to find the last
&gt; little bit of info to get it done.
&gt;
&gt; ASE
&gt;
&gt;


-- 
Samisa Abeysinghe
Director, Engineering - WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


</pre>
</div>
</content>
</entry>
<entry>
<title>rampart/c http tutorial</title>
<author><name>Adam Edgar &lt;aedgar@research.att.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200912.mbox/%3c1259946542.5172.63.camel@localhost%3e"/>
<id>urn:uuid:%3c1259946542-5172-63-camel@localhost%3e</id>
<updated>2009-12-04T17:09:02Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Is there a good start to finish tutorial for rampart/c for creating a
client starting with a WSDL file? Basically, right no I have written a
WSDL and used wsdl2c to generate the source for the client but it does
not seem to have any rampart code in it. If I run the server without
WSSE it works but not when I try to secure it. I've managed to find
documentation scattered about but nothing comprehensive. 

All I'm trying to do is use UserName/Password authentication across
https. This is probably real simple but I can't seem to find the last
little bit of info to get it done.

ASE



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: WSDL2C: Deconflicting Duplicate Types and Methods Between WSDLs</title>
<author><name>Dimuthu Gamage &lt;dimuthuc@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200912.mbox/%3ca9dcda00912040736p1cfa5c29o86e52380b4c4ff1d@mail.gmail.com%3e"/>
<id>urn:uuid:%3ca9dcda00912040736p1cfa5c29o86e52380b4c4ff1d@mail-gmail-com%3e</id>
<updated>2009-12-04T15:36:45Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

Unfortunately with the current setup there is no proper way to solve that
conflict. One possible solution is to provide a parameter to set the prefix
as you suggested, but there is no such thing implemented.

Can you please create a jira to implement this option?

Thanks
Dimuthu

On Sat, Oct 31, 2009 at 4:47 PM, Andrew Grissom &lt;andrew_grissom@yahoo.com&gt;wrote:

&gt; I have a project where I have multiple WSDLs that contain a types with the
&gt; same name, but with different definitions, and methods with the same name
&gt; but different parameters. When I generate the code using:
&gt;
&gt; WSDL2C -uri MyWSDL1.wsdl -d adb -u -o $OUTPUT_DIR
&gt;
&gt; Everything is fine if I create separate executables for accessing each
&gt; WSDL.  However, if I compile them together I get numerous duplicate symbols.
&gt;
&gt; If there a way in WSDLC to have it generate something like:
&gt;
&gt; adb_&lt;prefix&gt;_MyType or adb_&lt;prefix&gt;_MyMethod_create
&gt;
&gt; instead of:
&gt;
&gt; adb_MyType or adb_MyMethod_create
&gt;
&gt; I attempted to use the -p option when starting WSDL2C but it does not
&gt; appear to do anything.
&gt;
&gt; Am I missing something?
&gt;
&gt;


-- 
Thanks,
Dimuthu Gamage

http://www.dimuthu.org
http://www.wso2.org


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: using faults w/ wsdl2c</title>
<author><name>Dimuthu Gamage &lt;dimuthuc@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200912.mbox/%3ca9dcda00912031957r2417be8eu7c9c32370a7a9dd8@mail.gmail.com%3e"/>
<id>urn:uuid:%3ca9dcda00912031957r2417be8eu7c9c32370a7a9dd8@mail-gmail-com%3e</id>
<updated>2009-12-04T03:57:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

If you use the latest axis2 WSDL2C generator code, you don't need to create
soap fault message manually as the generated code provide lot of support in
generating fault message.

Please have a look at this for the improved API,
http://www.dimuthu.org/blog/2009/02/09/code-generate-custom-soap-faults-for-axis2c/


Thanks
Dimuthu


On Wed, Nov 18, 2009 at 3:49 AM, Doug Price &lt;Doug.Price@presagis.com&gt; wrote:

&gt; While I see that this approach allows the creation of user-defined fault
&gt; types, is it possible to also use it to specify the standard SOAP-ENV:Fault?
&gt;  I see a struct named axiom_soap_fault_t in the distribution, but I can't
&gt; seem to return it from the axis2_svc_skel_*_on_fault() function because it
&gt; requires a pointer to the SOAP body to create one.  Is there some other way
&gt; to return a standard SOAP fault from a service?
&gt;
&gt;
&gt; --
&gt; Doug Price
&gt; Research Director | Presagis
&gt;
&gt; T. +1 972 943.2433  F. +1 469 467.4564  C. +1 469 867.8399
&gt;
&gt; DISCLAIMER: This e-mail message is for the sole use of the intended
&gt; recipient(s) and may contain confidential and/or proprietary information. Do
&gt; not read, copy, or disseminate this message unless you are the addressee.
&gt; Any unauthorized review, use, disclosure or distribution is strictly
&gt; prohibited. If you have received this message in error, please contact the
&gt; sender by reply e-mail and delete the original and any copies from your
&gt; system.
&gt;
&gt; -----Original Message-----
&gt;
&gt; From: Amir Mousavizadegan [mailto:amir.mousavizadegan@cox.net]
&gt; Sent: Tuesday, November 17, 2009 10:29 AM
&gt; To: Apache AXIS C User List
&gt; Subject: Re: using faults w/ wsdl2c
&gt;
&gt; I did not write the sample codes  nor the document,  however  in order to
&gt; get it working, you have to change the body of the generated  code, or
&gt; create a replacement function as I did.
&gt; thx
&gt; Amir
&gt; ----- Original Message -----
&gt; From: "Doug Price" &lt;Doug.Price@presagis.com&gt;
&gt; To: "Apache AXIS C User List" &lt;axis-c-user@ws.apache.org&gt;
&gt; Sent: Tuesday, November 17, 2009 11:05 AM
&gt; Subject: RE: using faults w/ wsdl2c
&gt;
&gt;
&gt; Just what I was looking for.  Thanks so much.
&gt;
&gt; A quick follow up question on the code though.  Is there a reason that
&gt; axis2_svc_skel_Division_on_fault() doesn't use the adv_divFault api to
&gt; create the fault?
&gt;
&gt;
&gt; --
&gt; Doug Price
&gt; Research Director | Presagis
&gt;
&gt; T. +1 972 943.2433  F. +1 469 467.4564  C. +1 469 867.8399
&gt;
&gt; DISCLAIMER: This e-mail message is for the sole use of the intended
&gt; recipient(s) and may contain confidential and/or proprietary information.
&gt; Do
&gt; not read, copy, or disseminate this message unless you are the addressee.
&gt; Any unauthorized review, use, disclosure or distribution is strictly
&gt; prohibited. If you have received this message in error, please contact the
&gt; sender by reply e-mail and delete the original and any copies from your
&gt; system.
&gt;
&gt; -----Original Message-----
&gt;
&gt; From: Amir Mousavizadegan [mailto:amir.mousavizadegan@cox.net]
&gt; Sent: Tuesday, November 17, 2009 7:52 AM
&gt; To: Apache AXIS C User List
&gt; Subject: Re: using faults w/ wsdl2c
&gt;
&gt; Please see attached document
&gt; ----- Original Message -----
&gt; From: "Doug Price" &lt;Doug.Price@presagis.com&gt;
&gt; To: &lt;axis-c-user@ws.apache.org&gt;
&gt; Sent: Monday, November 16, 2009 4:47 PM
&gt; Subject: using faults w/ wsdl2c
&gt;
&gt;
&gt; I created a simple web service w/ Axis2c using wsdl2c on a WSDL file I
&gt; created in Eclipse.  The default functionality of this works fine.
&gt;  However,
&gt; now I'd like to incorporate faults into my SOAP messages.  I created a
&gt; fault
&gt; type in my WSDL and wsdl2c creates the wrappers for the fault message, but
&gt; the service skeleton and client stubs files seem to hard coded to assume no
&gt; faults are ever sent / received.  For example, the client axis2_stub_op_*()
&gt; function takes my request message type and returns my response message
&gt; type,
&gt; but doesn't seem to account for my fault type.  Modifying the code, I can
&gt; see that the fault is received and correctly deserialized, but I'll have to
&gt; continually hand edit the axis2_stub*.c and my client.c file as I make
&gt; modifications to my WSDL in order to make this work.
&gt;
&gt; The same is true on the service side w/ the axis2_skel*() functions.  Am I
&gt; missing something here, or are faults not supported w/ wsdl2c?
&gt;
&gt; --
&gt; Doug Price
&gt; Research Director | Presagis
&gt;
&gt; T. +1 972 943.2433 F. +1 469 467.4564 C. +1 469 867.8399
&gt;
&gt; DISCLAIMER: This e-mail message is for the sole use of the intended
&gt; recipient(s) and may contain confidential and/or proprietary information.
&gt; Do
&gt; not read, copy, or disseminate this message unless you are the addressee.
&gt; Any unauthorized review, use, disclosure or distribution is strictly
&gt; prohibited. If you have received this message in error, please contact the
&gt; sender by reply e-mail and delete the original and any copies from your
&gt; system.
&gt;
&gt;
&gt;
&gt;


-- 
Thanks,
Dimuthu Gamage

http://www.dimuthu.org
http://www.wso2.org


</pre>
</div>
</content>
</entry>
<entry>
<title>How to make keystore file?</title>
<author><name>Steven Zhang &lt;szhang@altigen.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200912.mbox/%3cE1191EB01C324D198D53512F647A26CC@stevenzhg%3e"/>
<id>urn:uuid:%3cE1191EB01C324D198D53512F647A26CC@stevenzhg%3e</id>
<updated>2009-12-02T01:39:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi:
I have an Axis2c client program, which can connect to a single HTTPS web service without any
problem. A certificate file (PEM) is stored for the HTTPS server. Now multiple HTTPS web services
need to be supported, I think a keystore file should be prepared, however don't know how to
do that. Can anybody help?

Thanks.
Steven

</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Endpoint Address</title>
<author><name>Supun Kamburugamuva &lt;supun06@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3ced64f35e0911251601g15616beftc8211c5515d00972@mail.gmail.com%3e"/>
<id>urn:uuid:%3ced64f35e0911251601g15616beftc8211c5515d00972@mail-gmail-com%3e</id>
<updated>2009-11-26T00:01:10Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
You can create a Jira. If you can find the problem please attach a patch as
well.

Thanks,
Supun..

On Wed, Nov 25, 2009 at 2:34 AM, Jose M Medina V &lt;
jose_medina@wesamconsulting.com&gt; wrote:

&gt; What is the procedure to get this work?
&gt;
&gt; Regards,
&gt;
&gt; On Nov 24, 2009, at 4:09 PM, Supun Kamburugamuva wrote:
&gt;
&gt; I think the way you get endpoint_ref is correct. But I'm not sure from your
&gt; comment weather endpoint_ref is NULL or a filed inside endpoint_ref is NULL.
&gt; In any case it should be a bug.
&gt;
&gt; Thanks,
&gt; Supun..
&gt;
&gt; On Wed, Oct 21, 2009 at 11:55 PM, Jose M Medina V &lt;
&gt; jose_medina@wesamconsulting.com&gt; wrote:
&gt;
&gt;&gt; Hi, I try to get the target endpoint address in a services in Axis2c, I
&gt;&gt; put the following code in the invoke function in the skeleton library:
&gt;&gt;
&gt;&gt; axis2_endpoint_ref_t *endpoint_ref = NULL;
&gt;&gt; const axis2_char_t *address = NULL;
&gt;&gt; .
&gt;&gt; .
&gt;&gt; .
&gt;&gt; endpoint_ref = axis2_msg_ctx_get_to(msg_ctx, env);
&gt;&gt;   if(endpoint_ref)
&gt;&gt;   {
&gt;&gt;     AXIS2_LOG_DEBUG(env-&gt;log, AXIS2_LOG_SI, "%s%s
&gt;&gt; if(endpoint_ref)",pdesWebServ-&gt;nombre_web,nombreFuncion);
&gt;&gt;     address = axis2_endpoint_ref_get_address(endpoint_ref, env);
&gt;&gt;     if (address)
&gt;&gt;     {
&gt;&gt;       AXIS2_LOG_DEBUG(env-&gt;log, AXIS2_LOG_SI, "%s%s if
&gt;&gt; (address)",pdesWebServ-&gt;nombre_web,nombreFuncion);
&gt;&gt;     }
&gt;&gt;   }
&gt;&gt;
&gt;&gt; When I run this, I got NULL in endpoint_ref variable, so I don’t know it
&gt;&gt; was something wrong with this code.
&gt;&gt; It is the correct way to get the endpoint address or exists another way to
&gt;&gt; get that info.
&gt;&gt;
&gt;&gt; Thank in advance.
&gt;&gt;
&gt;&gt;   ------------------------------------------------------------
&gt;&gt; José M. Medina V.
&gt;&gt; Wesam Consulting
&gt;&gt; jose_medina@wesamconsulting.com
&gt;&gt; Mobile: +58(416)613-3302 +58(414)019-0580
&gt;&gt; Ofc:     +58(212)959-4155 Ext. 204
&gt;&gt; BB pin: 31E562BF
&gt;&gt; Caracas - Venezuela
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;
&gt;
&gt; --
&gt; Software Engineer, WSO2 Inc
&gt; http://wso2.org
&gt; supunk.blogspot.com
&gt;
&gt;
&gt;
&gt; ------------------------------------------------------------
&gt; José M. Medina V.
&gt; Wesam Consulting
&gt; jose_medina@wesamconsulting.com
&gt; Mobile: +58(416)613-3302 +58(414)019-0580
&gt; Ofc:     +58(212)959-4155 Ext. 204
&gt; BB pin: 31E562BF
&gt; Caracas - Venezuela
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;


-- 
Software Engineer, WSO2 Inc
http://wso2.org
supunk.blogspot.com


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Endpoint Address</title>
<author><name>Jose M Medina V &lt;jose_medina@wesamconsulting.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3c4BD5685E-C360-46E5-9342-1FEFC1B3E6D7@wesamconsulting.com%3e"/>
<id>urn:uuid:%3c4BD5685E-C360-46E5-9342-1FEFC1B3E6D7@wesamconsulting-com%3e</id>
<updated>2009-11-24T21:04:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
What is the procedure to get this work?

Regards,

On Nov 24, 2009, at 4:09 PM, Supun Kamburugamuva wrote:

&gt; I think the way you get endpoint_ref is correct. But I'm not sure from your comment weather
endpoint_ref is NULL or a filed inside endpoint_ref is NULL. In any case it should be a bug.
&gt; 
&gt; Thanks,
&gt; Supun..  
&gt; 
&gt; On Wed, Oct 21, 2009 at 11:55 PM, Jose M Medina V &lt;jose_medina@wesamconsulting.com&gt;
wrote:
&gt; Hi, I try to get the target endpoint address in a services in Axis2c, I put the following
code in the invoke function in the skeleton library:
&gt; 
&gt; axis2_endpoint_ref_t *endpoint_ref = NULL;
&gt; const axis2_char_t *address = NULL;
&gt; .
&gt; .
&gt; .
&gt; endpoint_ref = axis2_msg_ctx_get_to(msg_ctx, env);
&gt;   if(endpoint_ref)
&gt;   {
&gt;     AXIS2_LOG_DEBUG(env-&gt;log, AXIS2_LOG_SI, "%s%s if(endpoint_ref)",pdesWebServ-&gt;nombre_web,nombreFuncion);
&gt;     address = axis2_endpoint_ref_get_address(endpoint_ref, env);
&gt;     if (address)
&gt;     {
&gt;       AXIS2_LOG_DEBUG(env-&gt;log, AXIS2_LOG_SI, "%s%s if (address)",pdesWebServ-&gt;nombre_web,nombreFuncion);
&gt;     }
&gt;   }
&gt; 
&gt; When I run this, I got NULL in endpoint_ref variable, so I don’t know it was something
wrong with this code.
&gt; It is the correct way to get the endpoint address or exists another way to get that info.
&gt; 
&gt; Thank in advance.
&gt; 
&gt; ------------------------------------------------------------
&gt; José M. Medina V.
&gt; Wesam Consulting
&gt; jose_medina@wesamconsulting.com
&gt; Mobile: +58(416)613-3302 +58(414)019-0580
&gt; Ofc:     +58(212)959-4155 Ext. 204
&gt; BB pin: 31E562BF
&gt; Caracas - Venezuela
&gt; 
&gt; 
&gt; 
&gt; 
&gt; 
&gt; 
&gt; 
&gt; 
&gt; 
&gt; -- 
&gt; Software Engineer, WSO2 Inc
&gt; http://wso2.org
&gt; supunk.blogspot.com
&gt; 
&gt; 

------------------------------------------------------------
José M. Medina V.
Wesam Consulting
jose_medina@wesamconsulting.com
Mobile: +58(416)613-3302 +58(414)019-0580
Ofc:     +58(212)959-4155 Ext. 204
BB pin: 31E562BF
Caracas - Venezuela








</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Endpoint Address</title>
<author><name>Supun Kamburugamuva &lt;supun06@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3ced64f35e0911241239j4696951asfa8ad16790e00cdd@mail.gmail.com%3e"/>
<id>urn:uuid:%3ced64f35e0911241239j4696951asfa8ad16790e00cdd@mail-gmail-com%3e</id>
<updated>2009-11-24T20:39:37Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I think the way you get endpoint_ref is correct. But I'm not sure from your
comment weather endpoint_ref is NULL or a filed inside endpoint_ref is NULL.
In any case it should be a bug.

Thanks,
Supun..

On Wed, Oct 21, 2009 at 11:55 PM, Jose M Medina V &lt;
jose_medina@wesamconsulting.com&gt; wrote:

&gt; Hi, I try to get the target endpoint address in a services in Axis2c, I put
&gt; the following code in the invoke function in the skeleton library:
&gt;
&gt; axis2_endpoint_ref_t *endpoint_ref = NULL;
&gt; const axis2_char_t *address = NULL;
&gt; .
&gt; .
&gt; .
&gt; endpoint_ref = axis2_msg_ctx_get_to(msg_ctx, env);
&gt;   if(endpoint_ref)
&gt;   {
&gt;     AXIS2_LOG_DEBUG(env-&gt;log, AXIS2_LOG_SI, "%s%s
&gt; if(endpoint_ref)",pdesWebServ-&gt;nombre_web,nombreFuncion);
&gt;     address = axis2_endpoint_ref_get_address(endpoint_ref, env);
&gt;     if (address)
&gt;     {
&gt;       AXIS2_LOG_DEBUG(env-&gt;log, AXIS2_LOG_SI, "%s%s if
&gt; (address)",pdesWebServ-&gt;nombre_web,nombreFuncion);
&gt;     }
&gt;   }
&gt;
&gt; When I run this, I got NULL in endpoint_ref variable, so I don’t know it
&gt; was something wrong with this code.
&gt; It is the correct way to get the endpoint address or exists another way to
&gt; get that info.
&gt;
&gt; Thank in advance.
&gt;
&gt; ------------------------------------------------------------
&gt; José M. Medina V.
&gt; Wesam Consulting
&gt; jose_medina@wesamconsulting.com
&gt; Mobile: +58(416)613-3302 +58(414)019-0580
&gt; Ofc:     +58(212)959-4155 Ext. 204
&gt; BB pin: 31E562BF
&gt; Caracas - Venezuela
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;


-- 
Software Engineer, WSO2 Inc
http://wso2.org
supunk.blogspot.com


</pre>
</div>
</content>
</entry>
<entry>
<title>RE: echo_rest and DELETE http_method</title>
<author><name>Ilia Gilderman &lt;ilia.gilderman@xeround.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3c3FE67ADD5DA1654BB1FE71521A1D8C250610B28BCB@BE169.mail.lan%3e"/>
<id>urn:uuid:%3c3FE67ADD5DA1654BB1FE71521A1D8C250610B28BCB@BE169-mail-lan%3e</id>
<updated>2009-11-24T20:39:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Yes, sure I did this

________________________________
From: Supun Kamburugamuva [mailto:supun06@gmail.com]
Sent: Tuesday, November 24, 2009 10:36 PM
To: Apache AXIS C User List
Subject: Re: echo_rest and DELETE http_method

Hi,

Not sure weather you have done this, but AFAIK you need to edit the services.xml file to make
them work.

Thanks,
Supun.
On Fri, Nov 20, 2009 at 7:19 PM, Ilia Gilderman &lt;ilia.gilderman@xeround.com&lt;mailto:ilia.gilderman@xeround.com&gt;&gt;
wrote:
Hi
It looks like the DELETE pieces does not work. I tried with simple_axis2_server and mod_axis2
modules and echo_rest example. When I'm adding -mDELETE option I got internal servers error
(500) from httpd. Is it known issue? What can be wrong with the sample?

Thanks

Ilia Gilderman, VP Product Development
xeround
4 Derech Hahoresh St.
P.O. Box 12621
Yehud, 56470 Israel
Office:   +972-3-5390617
Mobile: +972-54-4878091
ilia.gilderman@xeround.com&lt;mailto:ilia.gilderman@xeround.com&gt;




--
Software Engineer, WSO2 Inc
http://wso2.org
supunk.blogspot.com&lt;http://supunk.blogspot.com&gt;



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: echo_rest and DELETE http_method</title>
<author><name>Supun Kamburugamuva &lt;supun06@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3ced64f35e0911241236u4c5eb6b8gde64d538a4977fea@mail.gmail.com%3e"/>
<id>urn:uuid:%3ced64f35e0911241236u4c5eb6b8gde64d538a4977fea@mail-gmail-com%3e</id>
<updated>2009-11-24T20:36:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

Not sure weather you have done this, but AFAIK you need to edit the
services.xml file to make them work.

Thanks,
Supun.

On Fri, Nov 20, 2009 at 7:19 PM, Ilia Gilderman
&lt;ilia.gilderman@xeround.com&gt;wrote:

&gt;  Hi
&gt;
&gt; It looks like the DELETE pieces does not work. I tried with
&gt; simple_axis2_server and mod_axis2 modules and echo_rest example. When I'm
&gt; adding –mDELETE option I got internal servers error (500) from httpd. Is it
&gt; known issue? What can be wrong with the sample?
&gt;
&gt;
&gt;
&gt; Thanks
&gt;
&gt;
&gt;
&gt; *Ilia Gilderman**, VP Product Development**
&gt; **x**eround***
&gt;
&gt; *4 Derech Hahoresh St**.**
&gt; P.O. Box 12621
&gt; **Yehud, 56470 Israel*
&gt; *Office:   +972-3-5390617**
&gt; Mobile: +972-54-4878091*
&gt;
&gt; ilia.gilderman@xeround.com
&gt;
&gt;
&gt;



-- 
Software Engineer, WSO2 Inc
http://wso2.org
supunk.blogspot.com


</pre>
</div>
</content>
</entry>
<entry>
<title>echo_rest and DELETE http_method</title>
<author><name>Ilia Gilderman &lt;ilia.gilderman@xeround.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3c3FE67ADD5DA1654BB1FE71521A1D8C250610B28BAE@BE169.mail.lan%3e"/>
<id>urn:uuid:%3c3FE67ADD5DA1654BB1FE71521A1D8C250610B28BAE@BE169-mail-lan%3e</id>
<updated>2009-11-20T13:49:28Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi
It looks like the DELETE pieces does not work. I tried with simple_axis2_server and mod_axis2
modules and echo_rest example. When I'm adding -mDELETE option I got internal servers error
(500) from httpd. Is it known issue? What can be wrong with the sample?

Thanks

Ilia Gilderman, VP Product Development
xeround
4 Derech Hahoresh St.
P.O. Box 12621
Yehud, 56470 Israel
Office:   +972-3-5390617
Mobile: +972-54-4878091
ilia.gilderman@xeround.com&lt;mailto:ilia.gilderman@xeround.com&gt;



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [ot] adjusting timeouts</title>
<author><name>gsherwood@att.net</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3c111920092121.29540.4B05B6D8000A36780000736422218801869B0A02D29B9B0EBF0B0101999D0A089C09@att.net%3e"/>
<id>urn:uuid:%3c111920092121-29540-4B05B6D8000A36780000736422218801869B0A02D29B9B0EBF0B0101999D0A089C09@att-net%3e</id>
<updated>2009-11-19T21:21:28Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

I encountered timeouts using an Axis2/C client and a service using the Axis2/C server module.
Here's what I found to solve the problem, FYI.
The client error log indicates the timeout:
[Thu Nov 19 18:30:56 2009] [debug] http_client.c(571) http client , response timed out
[Thu Nov 19 18:30:56 2009] [error] http_client.c(574) Response timed out
[Thu Nov 19 18:30:56 2009] [error] http_sender.c(1381) status_code &lt; 0
[Thu Nov 19 18:30:56 2009] [error] engine.c(179) Transport sender invoke failed
[Thu Nov 19 18:30:56 2009] [error] TestCases.c(239) Stub invoke FAILED: Error code: 92 ::
Response timed out
The default timeout is 60000 ms (1 minute) as given in axis2_http_transport.h
To increase the timeout to the required value of 300 seconds (300000 ms), I set the option
in the client as follows.
axis2_options_set_timeout_in_milli_seconds(options, env, 300000);
Responses taking more than 2 minutes are now returning properly.
George
-------------- Forwarded Message: --------------
From: Sam Carleton &lt;scarleton@miltonstreet.com&gt;
To: Apache AXIS C User List &lt;axis-c-user@ws.apache.org&gt;
Subject: Re: [ot] adjusting timeouts
Date: Sun, 15 Nov 2009 22:29:04 +0000

George,


Actually, after a bit more investigation I discovered the error was between the keyboard and
chair...


The .Net client is setting up the binding at runtime... I discovered that that after the .Net
client set SendTimeout to 10 minutes, it set it to 25 seconds.  Opps!


Sam


On Sun, Nov 15, 2009 at 4:01 PM,  &lt;gsherwood@att.net&gt; wrote:


 I too am interested in how to set the timeout for the Axis2/C module. Rarely my application
will need up to 300 seconds (the Apache httpd default). But I have not tried that yet.
Thanks,
George
 -------------- Original message from Sam Carleton &lt;scarleton@miltonstreet.com&gt;: --------------


My Axis2/C code is being used by a .Net client and being hosted via Apache 2.2 and mod_axis2.
 I have set the SendTimeout on the .Net binding to 10 minutes but things are still timing
out in about 30 seconds.  I am wondering if anyone in this forum has run into this problem
and has any suggestions on setting on either apache or the .net side to extend the timeout.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Transport identified SOAP version does not match with SOAP	message version</title>
<author><name>Nandika Jayawardana &lt;jayawark@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3c5e8118f30911180046h68c3cfc9w50e5e5f3b67c484@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5e8118f30911180046h68c3cfc9w50e5e5f3b67c484@mail-gmail-com%3e</id>
<updated>2009-11-18T08:46:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Looking the message, It looks ok to me.When a soap12 message is sent, it
should contain the content type application/soap+xml and for a soap11
message, it should be text/xml. There is no issue with axis2/c inter
operating with .net.

Regards
Nandika

On Wed, Nov 4, 2009 at 8:49 PM, Dimitri Pararas &lt;dpararas@schedsys.com&gt;wrote:

&gt; Damitha Kumarage wrote:
&gt;
&gt;&gt; Dimitri Pararas wrote:
&gt;&gt;
&gt;&gt;&gt; I seem to be having some difficulty creating the proper headers for my
&gt;&gt;&gt; request using Axis2/c.  I am creating a simple request using the hello
&gt;&gt;&gt; client as a base.  When I send my request to the simple server included with
&gt;&gt;&gt; the axis2/c (after adding a dumb service) the request works properly.  When
&gt;&gt;&gt; I send it to the actual server I receive this error "Transport identified
&gt;&gt;&gt; SOAP version does not match with SOAP message version" (#195) the header
&gt;&gt;&gt; created looks like this
&gt;&gt;&gt; POST /foobar/services/FoobarService HTTP/1.1
&gt;&gt;&gt; User-Agent: Axis2C/1.6.0
&gt;&gt;&gt; Content-Length: 420
&gt;&gt;&gt; Content-Type: application/soap+xml;charset=UTF-8
&gt;&gt;&gt; Host: mercury:21083
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"&gt;&lt;soapenv:Body&gt;&lt;getTaskValidity&gt;&lt;acNum&gt;0001&lt;/acNum&gt;&lt;layoverDate&gt;2009-11-1&lt;/layoverDate&gt;&lt;newStation&gt;BOS&lt;/newStation&gt;&lt;origStation&gt;LHR&lt;/origStation&gt;&lt;arrivalDateTime&gt;2009-11-1
&gt;&gt;&gt; 20:00&lt;/arrivalDateTime&gt;&lt;callerID&gt;
&gt;&gt;&gt; POST /Foobar/services/foobarService HTTP/1.1
&gt;&gt;&gt; User-Agent: Axis2C/1.6.0
&gt;&gt;&gt; Content-Length: 420
&gt;&gt;&gt; Content-Type: application/soap+xml;charset=UTF-8
&gt;&gt;&gt;
&gt;&gt; I think you have done a mistake here when copying the soap message to this
&gt;&gt; mail message by copying the http headers again at the end. Are you sure your
&gt;&gt; soap message have no mistakes.
&gt;&gt; I guess your actual service is a dot net service
&gt;&gt;
&gt;&gt; thanks,
&gt;&gt; Damitha
&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; I am using the axis2_svc_client_send_receive to send this request, and I
&gt;&gt;&gt; have not been able to figure out what the problem is and how to manipulate
&gt;&gt;&gt; the header even if I did. Thanks
&gt;&gt;&gt; Dimitri
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt;  I used a TCP sniffer to grab the response, I didn't know what might be
&gt; important so I pasted it all.   Looking at it again, it seems like maybe I
&gt; pasted a request and inadvertently included the http headers from the second
&gt; request also.  When you say "I guess your actual service is a dot net
&gt; service" do you mean a dot net implementation of SOAP or something totally
&gt; different?  I am fairly certain that it should be a soap service, does Axis
&gt; not work with dot net SOAP?
&gt; Dimitri
&gt;



-- 
http://nandikajayawardana.blogspot.com/
WSO2 Inc: http://www.wso2.com


</pre>
</div>
</content>
</entry>
<entry>
<title>RE: using faults w/ wsdl2c</title>
<author><name>Doug Price &lt;Doug.Price@presagis.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3cDD0FC2ECE0D0C949B6F191BBE2589C6533504F9C@premex01.presagis.com%3e"/>
<id>urn:uuid:%3cDD0FC2ECE0D0C949B6F191BBE2589C6533504F9C@premex01-presagis-com%3e</id>
<updated>2009-11-17T22:19:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
While I see that this approach allows the creation of user-defined fault types, is it possible
to also use it to specify the standard SOAP-ENV:Fault?  I see a struct named axiom_soap_fault_t
in the distribution, but I can't seem to return it from the axis2_svc_skel_*_on_fault() function
because it requires a pointer to the SOAP body to create one.  Is there some other way to
return a standard SOAP fault from a service?


--
Doug Price
Research Director | Presagis

T. +1 972 943.2433  F. +1 469 467.4564  C. +1 469 867.8399

DISCLAIMER: This e-mail message is for the sole use of the intended recipient(s) and may contain
confidential and/or proprietary information. Do not read, copy, or disseminate this message
unless you are the addressee. Any unauthorized review, use, disclosure or distribution is
strictly prohibited. If you have received this message in error, please contact the sender
by reply e-mail and delete the original and any copies from your system.

-----Original Message-----

From: Amir Mousavizadegan [mailto:amir.mousavizadegan@cox.net]
Sent: Tuesday, November 17, 2009 10:29 AM
To: Apache AXIS C User List
Subject: Re: using faults w/ wsdl2c

I did not write the sample codes  nor the document,  however  in order to
get it working, you have to change the body of the generated  code, or
create a replacement function as I did.
thx
Amir
----- Original Message -----
From: "Doug Price" &lt;Doug.Price@presagis.com&gt;
To: "Apache AXIS C User List" &lt;axis-c-user@ws.apache.org&gt;
Sent: Tuesday, November 17, 2009 11:05 AM
Subject: RE: using faults w/ wsdl2c


Just what I was looking for.  Thanks so much.

A quick follow up question on the code though.  Is there a reason that
axis2_svc_skel_Division_on_fault() doesn't use the adv_divFault api to
create the fault?


--
Doug Price
Research Director | Presagis

T. +1 972 943.2433  F. +1 469 467.4564  C. +1 469 867.8399

DISCLAIMER: This e-mail message is for the sole use of the intended
recipient(s) and may contain confidential and/or proprietary information. Do
not read, copy, or disseminate this message unless you are the addressee.
Any unauthorized review, use, disclosure or distribution is strictly
prohibited. If you have received this message in error, please contact the
sender by reply e-mail and delete the original and any copies from your
system.

-----Original Message-----

From: Amir Mousavizadegan [mailto:amir.mousavizadegan@cox.net]
Sent: Tuesday, November 17, 2009 7:52 AM
To: Apache AXIS C User List
Subject: Re: using faults w/ wsdl2c

Please see attached document
----- Original Message -----
From: "Doug Price" &lt;Doug.Price@presagis.com&gt;
To: &lt;axis-c-user@ws.apache.org&gt;
Sent: Monday, November 16, 2009 4:47 PM
Subject: using faults w/ wsdl2c


I created a simple web service w/ Axis2c using wsdl2c on a WSDL file I
created in Eclipse.  The default functionality of this works fine.  However,
now I'd like to incorporate faults into my SOAP messages.  I created a fault
type in my WSDL and wsdl2c creates the wrappers for the fault message, but
the service skeleton and client stubs files seem to hard coded to assume no
faults are ever sent / received.  For example, the client axis2_stub_op_*()
function takes my request message type and returns my response message type,
but doesn't seem to account for my fault type.  Modifying the code, I can
see that the fault is received and correctly deserialized, but I'll have to
continually hand edit the axis2_stub*.c and my client.c file as I make
modifications to my WSDL in order to make this work.

The same is true on the service side w/ the axis2_skel*() functions.  Am I
missing something here, or are faults not supported w/ wsdl2c?

--
Doug Price
Research Director | Presagis

T. +1 972 943.2433 F. +1 469 467.4564 C. +1 469 867.8399

DISCLAIMER: This e-mail message is for the sole use of the intended
recipient(s) and may contain confidential and/or proprietary information. Do
not read, copy, or disseminate this message unless you are the addressee.
Any unauthorized review, use, disclosure or distribution is strictly
prohibited. If you have received this message in error, please contact the
sender by reply e-mail and delete the original and any copies from your
system.





</pre>
</div>
</content>
</entry>
<entry>
<title>Re: using faults w/ wsdl2c</title>
<author><name>&quot;Amir Mousavizadegan&quot; &lt;amir.mousavizadegan@cox.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3cC7176C4073D9468D82E60AC8FB3EB79B@acscicstx01%3e"/>
<id>urn:uuid:%3cC7176C4073D9468D82E60AC8FB3EB79B@acscicstx01%3e</id>
<updated>2009-11-17T16:28:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I did not write the sample codes  nor the document,  however  in order to 
get it working, you have to change the body of the generated  code, or 
create a replacement function as I did.
thx
Amir
----- Original Message ----- 
From: "Doug Price" &lt;Doug.Price@presagis.com&gt;
To: "Apache AXIS C User List" &lt;axis-c-user@ws.apache.org&gt;
Sent: Tuesday, November 17, 2009 11:05 AM
Subject: RE: using faults w/ wsdl2c


Just what I was looking for.  Thanks so much.

A quick follow up question on the code though.  Is there a reason that 
axis2_svc_skel_Division_on_fault() doesn't use the adv_divFault api to 
create the fault?


--
Doug Price
Research Director | Presagis

T. +1 972 943.2433  F. +1 469 467.4564  C. +1 469 867.8399

DISCLAIMER: This e-mail message is for the sole use of the intended 
recipient(s) and may contain confidential and/or proprietary information. Do 
not read, copy, or disseminate this message unless you are the addressee. 
Any unauthorized review, use, disclosure or distribution is strictly 
prohibited. If you have received this message in error, please contact the 
sender by reply e-mail and delete the original and any copies from your 
system.

-----Original Message-----

From: Amir Mousavizadegan [mailto:amir.mousavizadegan@cox.net]
Sent: Tuesday, November 17, 2009 7:52 AM
To: Apache AXIS C User List
Subject: Re: using faults w/ wsdl2c

Please see attached document
----- Original Message -----
From: "Doug Price" &lt;Doug.Price@presagis.com&gt;
To: &lt;axis-c-user@ws.apache.org&gt;
Sent: Monday, November 16, 2009 4:47 PM
Subject: using faults w/ wsdl2c


I created a simple web service w/ Axis2c using wsdl2c on a WSDL file I
created in Eclipse.  The default functionality of this works fine.  However,
now I'd like to incorporate faults into my SOAP messages.  I created a fault
type in my WSDL and wsdl2c creates the wrappers for the fault message, but
the service skeleton and client stubs files seem to hard coded to assume no
faults are ever sent / received.  For example, the client axis2_stub_op_*()
function takes my request message type and returns my response message type,
but doesn't seem to account for my fault type.  Modifying the code, I can
see that the fault is received and correctly deserialized, but I'll have to
continually hand edit the axis2_stub*.c and my client.c file as I make
modifications to my WSDL in order to make this work.

The same is true on the service side w/ the axis2_skel*() functions.  Am I
missing something here, or are faults not supported w/ wsdl2c?

--
Doug Price
Research Director | Presagis

T. +1 972 943.2433 F. +1 469 467.4564 C. +1 469 867.8399

DISCLAIMER: This e-mail message is for the sole use of the intended
recipient(s) and may contain confidential and/or proprietary information. Do
not read, copy, or disseminate this message unless you are the addressee.
Any unauthorized review, use, disclosure or distribution is strictly
prohibited. If you have received this message in error, please contact the
sender by reply e-mail and delete the original and any copies from your
system.




</pre>
</div>
</content>
</entry>
<entry>
<title>RE: using faults w/ wsdl2c</title>
<author><name>Doug Price &lt;Doug.Price@presagis.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3cDD0FC2ECE0D0C949B6F191BBE2589C65334A8C24@premex01.presagis.com%3e"/>
<id>urn:uuid:%3cDD0FC2ECE0D0C949B6F191BBE2589C65334A8C24@premex01-presagis-com%3e</id>
<updated>2009-11-17T16:05:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Just what I was looking for.  Thanks so much.

A quick follow up question on the code though.  Is there a reason that axis2_svc_skel_Division_on_fault()
doesn't use the adv_divFault api to create the fault?


--
Doug Price
Research Director | Presagis

T. +1 972 943.2433  F. +1 469 467.4564  C. +1 469 867.8399

DISCLAIMER: This e-mail message is for the sole use of the intended recipient(s) and may contain
confidential and/or proprietary information. Do not read, copy, or disseminate this message
unless you are the addressee. Any unauthorized review, use, disclosure or distribution is
strictly prohibited. If you have received this message in error, please contact the sender
by reply e-mail and delete the original and any copies from your system.

-----Original Message-----

From: Amir Mousavizadegan [mailto:amir.mousavizadegan@cox.net]
Sent: Tuesday, November 17, 2009 7:52 AM
To: Apache AXIS C User List
Subject: Re: using faults w/ wsdl2c

Please see attached document
----- Original Message -----
From: "Doug Price" &lt;Doug.Price@presagis.com&gt;
To: &lt;axis-c-user@ws.apache.org&gt;
Sent: Monday, November 16, 2009 4:47 PM
Subject: using faults w/ wsdl2c


I created a simple web service w/ Axis2c using wsdl2c on a WSDL file I
created in Eclipse.  The default functionality of this works fine.  However,
now I'd like to incorporate faults into my SOAP messages.  I created a fault
type in my WSDL and wsdl2c creates the wrappers for the fault message, but
the service skeleton and client stubs files seem to hard coded to assume no
faults are ever sent / received.  For example, the client axis2_stub_op_*()
function takes my request message type and returns my response message type,
but doesn't seem to account for my fault type.  Modifying the code, I can
see that the fault is received and correctly deserialized, but I'll have to
continually hand edit the axis2_stub*.c and my client.c file as I make
modifications to my WSDL in order to make this work.

The same is true on the service side w/ the axis2_skel*() functions.  Am I
missing something here, or are faults not supported w/ wsdl2c?

--
Doug Price
Research Director | Presagis

T. +1 972 943.2433 F. +1 469 467.4564 C. +1 469 867.8399

DISCLAIMER: This e-mail message is for the sole use of the intended
recipient(s) and may contain confidential and/or proprietary information. Do
not read, copy, or disseminate this message unless you are the addressee.
Any unauthorized review, use, disclosure or distribution is strictly
prohibited. If you have received this message in error, please contact the
sender by reply e-mail and delete the original and any copies from your
system.




</pre>
</div>
</content>
</entry>
<entry>
<title>Re: using faults w/ wsdl2c</title>
<author><name>&quot;Amir Mousavizadegan&quot; &lt;amir.mousavizadegan@cox.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3cF773BBFFA12A49519C8910859E8719F7@acscicstx01%3e"/>
<id>urn:uuid:%3cF773BBFFA12A49519C8910859E8719F7@acscicstx01%3e</id>
<updated>2009-11-17T13:52:23Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Please see attached document
----- Original Message ----- 
From: "Doug Price" &lt;Doug.Price@presagis.com&gt;
To: &lt;axis-c-user@ws.apache.org&gt;
Sent: Monday, November 16, 2009 4:47 PM
Subject: using faults w/ wsdl2c


I created a simple web service w/ Axis2c using wsdl2c on a WSDL file I 
created in Eclipse.  The default functionality of this works fine.  However, 
now I'd like to incorporate faults into my SOAP messages.  I created a fault 
type in my WSDL and wsdl2c creates the wrappers for the fault message, but 
the service skeleton and client stubs files seem to hard coded to assume no 
faults are ever sent / received.  For example, the client axis2_stub_op_*() 
function takes my request message type and returns my response message type, 
but doesn't seem to account for my fault type.  Modifying the code, I can 
see that the fault is received and correctly deserialized, but I'll have to 
continually hand edit the axis2_stub*.c and my client.c file as I make 
modifications to my WSDL in order to make this work.

The same is true on the service side w/ the axis2_skel*() functions.  Am I 
missing something here, or are faults not supported w/ wsdl2c?

--
Doug Price
Research Director | Presagis

T. +1 972 943.2433 F. +1 469 467.4564 C. +1 469 867.8399

DISCLAIMER: This e-mail message is for the sole use of the intended 
recipient(s) and may contain confidential and/or proprietary information. Do 
not read, copy, or disseminate this message unless you are the addressee. 
Any unauthorized review, use, disclosure or distribution is strictly 
prohibited. If you have received this message in error, please contact the 
sender by reply e-mail and delete the original and any copies from your 
system.



</pre>
</div>
</content>
</entry>
<entry>
<title>using faults w/ wsdl2c</title>
<author><name>Doug Price &lt;Doug.Price@presagis.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3cDD0FC2ECE0D0C949B6F191BBE2589C65334A8779@premex01.presagis.com%3e"/>
<id>urn:uuid:%3cDD0FC2ECE0D0C949B6F191BBE2589C65334A8779@premex01-presagis-com%3e</id>
<updated>2009-11-16T21:47:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I created a simple web service w/ Axis2c using wsdl2c on a WSDL file I created in Eclipse.
 The default functionality of this works fine.  However, now I'd like to incorporate faults
into my SOAP messages.  I created a fault type in my WSDL and wsdl2c creates the wrappers
for the fault message, but the service skeleton and client stubs files seem to hard coded
to assume no faults are ever sent / received.  For example, the client axis2_stub_op_*() function
takes my request message type and returns my response message type, but doesn't seem to account
for my fault type.  Modifying the code, I can see that the fault is received and correctly
deserialized, but I'll have to continually hand edit the axis2_stub*.c and my client.c file
as I make modifications to my WSDL in order to make this work.

The same is true on the service side w/ the axis2_skel*() functions.  Am I missing something
here, or are faults not supported w/ wsdl2c?

--
Doug Price
Research Director | Presagis

T. +1 972 943.2433 F. +1 469 467.4564 C. +1 469 867.8399

DISCLAIMER: This e-mail message is for the sole use of the intended recipient(s) and may contain
confidential and/or proprietary information. Do not read, copy, or disseminate this message
unless you are the addressee. Any unauthorized review, use, disclosure or distribution is
strictly prohibited. If you have received this message in error, please contact the sender
by reply e-mail and delete the original and any copies from your system.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [ot] adjusting timeouts</title>
<author><name>Sam Carleton &lt;scarleton@miltonstreet.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3c8d38ca0a0911151428g742300e3mbb60c476534f70ac@mail.gmail.com%3e"/>
<id>urn:uuid:%3c8d38ca0a0911151428g742300e3mbb60c476534f70ac@mail-gmail-com%3e</id>
<updated>2009-11-15T22:28:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
George,

Actually, after a bit more investigation I discovered the error was between
the keyboard and chair...

The .Net client is setting up the binding at runtime... I discovered that
that after the .Net client set SendTimeout to 10 minutes, it set it to 25
seconds.  Opps!

Sam

On Sun, Nov 15, 2009 at 4:01 PM, &lt;gsherwood@att.net&gt; wrote:

&gt;  I too am interested in how to set the timeout for the Axis2/C module.
&gt; Rarely my application will need up to 300 seconds (the Apache httpd
&gt; default). But I have not tried that yet.
&gt; Thanks,
&gt; George
&gt;
&gt; -------------- Original message from Sam Carleton &lt;
&gt; scarleton@miltonstreet.com&gt;: --------------
&gt;
&gt; My Axis2/C code is being used by a .Net client and being hosted via Apache
&gt; 2.2 and mod_axis2.  I have set the SendTimeout on the .Net binding to 10
&gt; minutes but things are still timing out in about 30 seconds.  I am wondering
&gt; if anyone in this forum has run into this problem and has any suggestions on
&gt; setting on either apache or the .net side to extend the timeout.
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [ot] adjusting timeouts</title>
<author><name>gsherwood@att.net</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3c111520092101.18173.4B006C160007FAAF000046FD22230682329B0A02D29B9B0EBF0B0101999D0A089C09@att.net%3e"/>
<id>urn:uuid:%3c111520092101-18173-4B006C160007FAAF000046FD22230682329B0A02D29B9B0EBF0B0101999D0A089C09@att-net%3e</id>
<updated>2009-11-15T21:01:10Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

 I too am interested in how to set the timeout for the Axis2/C module. Rarely my application
will need up to 300 seconds (the Apache httpd default). But I have not tried that yet.
Thanks,
George
 -------------- Original message from Sam Carleton &lt;scarleton@miltonstreet.com&gt;: --------------

My Axis2/C code is being used by a .Net client and being hosted via Apache 2.2 and mod_axis2.
 I have set the SendTimeout on the .Net binding to 10 minutes but things are still timing
out in about 30 seconds.  I am wondering if anyone in this forum has run into this problem
and has any suggestions on setting on either apache or the .net side to extend the timeout.


</pre>
</div>
</content>
</entry>
<entry>
<title>[ot] adjusting timeouts</title>
<author><name>Sam Carleton &lt;scarleton@miltonstreet.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3c8d38ca0a0911151242v39873ffag822065fd3a4fc52f@mail.gmail.com%3e"/>
<id>urn:uuid:%3c8d38ca0a0911151242v39873ffag822065fd3a4fc52f@mail-gmail-com%3e</id>
<updated>2009-11-15T20:42:26Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
My Axis2/C code is being used by a .Net client and being hosted via Apache
2.2 and mod_axis2.  I have set the SendTimeout on the .Net binding to 10
minutes but things are still timing out in about 30 seconds.  I am wondering
if anyone in this forum has run into this problem and has any suggestions on
setting on either apache or the .net side to extend the timeout.


</pre>
</div>
</content>
</entry>
<entry>
<title>Endpoint Address</title>
<author><name>Jose M Medina V &lt;jose_medina@wesamconsulting.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3cA5937990-C68C-43B4-90B1-A561DE233F6E@wesamconsulting.com%3e"/>
<id>urn:uuid:%3cA5937990-C68C-43B4-90B1-A561DE233F6E@wesamconsulting-com%3e</id>
<updated>2009-11-12T15:44:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi, I try to get the target endpoint address in a services in Axis2c, I put the following code
in the invoke function in the skeleton library:

axis2_endpoint_ref_t *endpoint_ref = NULL;
const axis2_char_t *address = NULL;
.
.
.
endpoint_ref = axis2_msg_ctx_get_to(msg_ctx, env);
  if(endpoint_ref)
  {
    AXIS2_LOG_DEBUG(env-&gt;log, AXIS2_LOG_SI, "%s%s if(endpoint_ref)",pdesWebServ-&gt;nombre_web,nombreFuncion);
    address = axis2_endpoint_ref_get_address(endpoint_ref, env);
    if (address)
    {
      AXIS2_LOG_DEBUG(env-&gt;log, AXIS2_LOG_SI, "%s%s if (address)",pdesWebServ-&gt;nombre_web,nombreFuncion);
    }
  }

When I run this, I got NULL in endpoint_ref variable, so I don’t know it was something wrong
with this code.
It is the correct way to get the endpoint address or exists another way to get that info.

Thank in advance.

------------------------------------------------------------
José M. Medina V.
Wesam Consulting
jose_medina@wesamconsulting.com
Mobile: +58(416)613-3302 +58(414)019-0580
Ofc:     +58(212)959-4155 Ext. 204
BB pin: 31E562BF
Caracas - Venezuela








</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Transport identified SOAP version does not match with SOAP message version</title>
<author><name>Dimitri Pararas &lt;dpararas@schedsys.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3c4AF19B80.5030001@schedsys.com%3e"/>
<id>urn:uuid:%3c4AF19B80-5030001@schedsys-com%3e</id>
<updated>2009-11-04T15:19:28Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Damitha Kumarage wrote:
&gt; Dimitri Pararas wrote:
&gt;&gt; I seem to be having some difficulty creating the proper headers for 
&gt;&gt; my request using Axis2/c.  I am creating a simple request using the 
&gt;&gt; hello client as a base.  When I send my request to the simple server 
&gt;&gt; included with the axis2/c (after adding a dumb service) the request 
&gt;&gt; works properly.  When I send it to the actual server I receive this 
&gt;&gt; error "Transport identified SOAP version does not match with SOAP 
&gt;&gt; message version" (#195) the header created looks like this
&gt;&gt; POST /foobar/services/FoobarService HTTP/1.1
&gt;&gt; User-Agent: Axis2C/1.6.0
&gt;&gt; Content-Length: 420
&gt;&gt; Content-Type: application/soap+xml;charset=UTF-8
&gt;&gt; Host: mercury:21083
&gt;&gt;
&gt;&gt; &lt;soapenv:Envelope 
&gt;&gt; xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"&gt;&lt;soapenv:Body&gt;&lt;getTaskValidity&gt;&lt;acNum&gt;0001&lt;/acNum&gt;&lt;layoverDate&gt;2009-11-1&lt;/layoverDate&gt;&lt;newStation&gt;BOS&lt;/newStation&gt;&lt;origStation&gt;LHR&lt;/origStation&gt;&lt;arrivalDateTime&gt;2009-11-1

&gt;&gt; 20:00&lt;/arrivalDateTime&gt;&lt;callerID&gt;
&gt;&gt; POST /Foobar/services/foobarService HTTP/1.1
&gt;&gt; User-Agent: Axis2C/1.6.0
&gt;&gt; Content-Length: 420
&gt;&gt; Content-Type: application/soap+xml;charset=UTF-8
&gt; I think you have done a mistake here when copying the soap message to 
&gt; this mail message by copying the http headers again at the end. Are 
&gt; you sure your soap message have no mistakes.
&gt; I guess your actual service is a dot net service
&gt;
&gt; thanks,
&gt; Damitha
&gt;&gt;
&gt;&gt; I am using the axis2_svc_client_send_receive to send this request, 
&gt;&gt; and I have not been able to figure out what the problem is and how to 
&gt;&gt; manipulate the header even if I did. Thanks
&gt;&gt; Dimitri
&gt;&gt;
&gt;&gt;
&gt;
&gt;
I used a TCP sniffer to grab the response, I didn't know what might be 
important so I pasted it all.   Looking at it again, it seems like maybe 
I pasted a request and inadvertently included the http headers from the 
second request also.  When you say "I guess your actual service is a dot 
net service" do you mean a dot net implementation of SOAP or something 
totally different?  I am fairly certain that it should be a soap 
service, does Axis not work with dot net SOAP?
Dimitri


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Transport identified SOAP version does not match with SOAP message version</title>
<author><name>Damitha Kumarage &lt;damitha@wso2.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3c4AF148C6.6020505@wso2.com%3e"/>
<id>urn:uuid:%3c4AF148C6-6020505@wso2-com%3e</id>
<updated>2009-11-04T09:26:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Dimitri Pararas wrote:
&gt; I seem to be having some difficulty creating the proper headers for my 
&gt; request using Axis2/c.  I am creating a simple request using the hello 
&gt; client as a base.  When I send my request to the simple server 
&gt; included with the axis2/c (after adding a dumb service) the request 
&gt; works properly.  When I send it to the actual server I receive this 
&gt; error "Transport identified SOAP version does not match with SOAP 
&gt; message version" (#195) the header created looks like this
&gt; POST /foobar/services/FoobarService HTTP/1.1
&gt; User-Agent: Axis2C/1.6.0
&gt; Content-Length: 420
&gt; Content-Type: application/soap+xml;charset=UTF-8
&gt; Host: mercury:21083
&gt;
&gt; &lt;soapenv:Envelope 
&gt; xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"&gt;&lt;soapenv:Body&gt;&lt;getTaskValidity&gt;&lt;acNum&gt;0001&lt;/acNum&gt;&lt;layoverDate&gt;2009-11-1&lt;/layoverDate&gt;&lt;newStation&gt;BOS&lt;/newStation&gt;&lt;origStation&gt;LHR&lt;/origStation&gt;&lt;arrivalDateTime&gt;2009-11-1

&gt; 20:00&lt;/arrivalDateTime&gt;&lt;callerID&gt;
&gt; POST /Foobar/services/foobarService HTTP/1.1
&gt; User-Agent: Axis2C/1.6.0
&gt; Content-Length: 420
&gt; Content-Type: application/soap+xml;charset=UTF-8
I think you have done a mistake here when copying the soap message to 
this mail message by copying the http headers again at the end. Are you 
sure your soap message have no mistakes.
I guess your actual service is a dot net service

thanks,
Damitha
&gt;
&gt; I am using the axis2_svc_client_send_receive to send this request, and 
&gt; I have not been able to figure out what the problem is and how to 
&gt; manipulate the header even if I did. Thanks
&gt; Dimitri
&gt;
&gt;


-- 
__________________________________________________________________

Damitha Kumarage
Technical Lead; WSO2 Inc.
"Oxygenating the Web Service Platform; " http://www.wso2.com/

blog: " http://damithakumarage.wordpress.com/
__________________________________________________________________


</pre>
</div>
</content>
</entry>
<entry>
<title>Transport identified SOAP version does not match with SOAP message version</title>
<author><name>Dimitri Pararas &lt;dpararas@schedsys.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3c4AF099AC.8030909@schedsys.com%3e"/>
<id>urn:uuid:%3c4AF099AC-8030909@schedsys-com%3e</id>
<updated>2009-11-03T20:59:24Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I seem to be having some difficulty creating the proper headers for my 
request using Axis2/c.  I am creating a simple request using the hello 
client as a base.  When I send my request to the simple server included 
with the axis2/c (after adding a dumb service) the request works 
properly.  When I send it to the actual server I receive this error 
"Transport identified SOAP version does not match with SOAP message 
version" (#195) 
the header created looks like this
POST /foobar/services/FoobarService HTTP/1.1
User-Agent: Axis2C/1.6.0
Content-Length: 420
Content-Type: application/soap+xml;charset=UTF-8
Host: mercury:21083

&lt;soapenv:Envelope 
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"&gt;&lt;soapenv:Body&gt;&lt;getTaskValidity&gt;&lt;acNum&gt;0001&lt;/acNum&gt;&lt;layoverDate&gt;2009-11-1&lt;/layoverDate&gt;&lt;newStation&gt;BOS&lt;/newStation&gt;&lt;origStation&gt;LHR&lt;/origStation&gt;&lt;arrivalDateTime&gt;2009-11-1

20:00&lt;/arrivalDateTime&gt;&lt;callerID&gt;
POST /Foobar/services/foobarService HTTP/1.1
User-Agent: Axis2C/1.6.0
Content-Length: 420
Content-Type: application/soap+xml;charset=UTF-8

I am using the axis2_svc_client_send_receive to send this request, and I 
have not been able to figure out what the problem is and how to 
manipulate the header even if I did. 
Thanks
Dimitri



</pre>
</div>
</content>
</entry>
<entry>
<title>Marketing Analysis GBA 490</title>
<author><name>uagba490 &lt;uagba490@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200911.mbox/%3c26157783.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26157783-post@talk-nabble-com%3e</id>
<updated>2009-11-02T19:03:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

As Seniors at the University of Alabama we have been assigned an industry
analysis for the software industry specifically regarding Hydra, Axis, and
Gsoap. We are currently trying to define who uses this product, what the
product is used for and why this product.  Any help in determining these
issues will be greatly appreciated.  We appreciate your time and attention
to this matter.


Thank You,
Jessica Bush
GBA 490
Team Lead
University of Alabama
-- 
View this message in context: http://old.nabble.com/Marketing-Analysis-GBA-490-tp26157783p26157783.html
Sent from the Axis - C++ - User mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>WSDL2C: Deconflicting Duplicate Types and Methods Between WSDLs</title>
<author><name>Andrew Grissom &lt;andrew_grissom@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200910.mbox/%3c526862.98575.qm@web63207.mail.re1.yahoo.com%3e"/>
<id>urn:uuid:%3c526862-98575-qm@web63207-mail-re1-yahoo-com%3e</id>
<updated>2009-10-31T11:17:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I have a project where I have multiple WSDLs that contain a types with the same name, but with
different definitions, and methods with the same name but different parameters. When I generate
the code using:

WSDL2C -uri MyWSDL1.wsdl -d adb -u -o $OUTPUT_DIR

Everything is fine if I create separate executables for accessing each WSDL.  However, if
I compile them together I get numerous duplicate symbols.

If there a way in WSDLC to have it generate something like:

adb_&lt;prefix&gt;_MyType or adb_&lt;prefix&gt;_MyMethod_create

instead of:

adb_MyType or adb_MyMethod_create


I attempted to use the -p option when starting WSDL2C but it does not appear to do anything.

Am I missing something?


      

</pre>
</div>
</content>
</entry>
<entry>
<title>DLL path for libTestCases_t.so is set to libTestCases.so</title>
<author><name>gsherwood@att.net</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200910.mbox/%3c102720092349.28353.4AE786FD0008CE0B00006EC122230650029B0A02D29B9B0EBF0B0101999D0A089C09@att.net%3e"/>
<id>urn:uuid:%3c102720092349-28353-4AE786FD0008CE0B00006EC122230650029B0A02D29B9B0EBF0B0101999D0A089C09@att-net%3e</id>
<updated>2009-10-27T23:49:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I have set up two services which (for now) are identical except for their names, TestCases
and TestCases_t. The choice of the suffix _t is historical and has nothing to do with type
names. libTestCases.so and libTestCases_t.so are placed in their respective directories:
/usr/local/www/64.232.245.115/axis2c/services/TestCases and
/usr/local/www/64.232.245.115/axis2c/services/TestCases_t
However, log entries indicate the DLL path for libTestCases_t.so is not getting set correctly.
Relevant entries include the following.
[Tue Oct 27 19:22:33 2009] [debug] svc_builder.c(318) DLL path is : /usr/local/www/64.232.245.115/axis2c/services/TestCases/libTestCases.so

[Tue Oct 27 19:22:33 2009] [debug] om_element.c(1114) There are no child elements for the
node
[Tue Oct 27 19:22:33 2009] [debug] svc_builder.c(318) DLL path is : /usr/local/www/64.232.245.115/axis2c/services/TestCases_t/libTestCases.so
[Tue Oct 27 19:22:33 2009] [debug] om_element.c(1114) There are no child elements for the
node
...
[Tue Oct 27 19:22:33 2009] [error] class_loader.c(162) Loading shared library /usr/local/www/64.232.245.115/axis2c/services/TestCases_t/libTestCases.so
 Failed. DLERROR IS /usr/local/www/64.232.245.115/axis2c/services/TestCases_t/libTestCases.so:
cannot open shared object file: No such file or directory
If I depart from the usual naming convention (i.e. libTestCases_t.so for TestCases_t), and
use the name in the DLL path instead (libTestCases.so), then the service works.
Can anyone help with answers to these questions?
1. Is this behavior (dropping the _t suffix) a bug or a feature?
2. Is setting the name to the DLL path indicated in the log a legitimate workaround?
3. Am I likely to encounter future trouble with a service name ending in _t?
Thanks,
George Sherwood
Testcover.com




</pre>
</div>
</content>
</entry>
<entry>
<title>Re: cdata sections</title>
<author><name>Dinesh Premalal &lt;xydinesh@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200910.mbox/%3c878wf489xr.fsf@gmail.com%3e"/>
<id>urn:uuid:%3c878wf489xr-fsf@gmail-com%3e</id>
<updated>2009-10-22T02:00:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi, William,

"Nagy Vilmos" &lt;nvili77@gmail.com&gt; writes:

&gt; Hi,
&gt;  
&gt; the axiom_text_create method can be used to create a text node in Axis2/C.
&gt; How can I create a CDATA section node?

AFAIK, CDATA is not implemented with axiom yet. I may be wrong.

thanks,
Dinesh


</pre>
</div>
</content>
</entry>
</feed>
