You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by preet $ <pr...@gmail.com> on 2011/06/20 18:07:49 UTC

Can Axis2c work in IPv6 env?

Hello,

     I am using Axis2c1.6 and wanted to know if it works with IPv6. I see
some responses that says it does not. Please find the installation
scenario...

 I have a windows 7 and it has dual stack. I have my webservices server
running on JBoss. I started JBoss with -b ipv6 address and I see the port
8080 bound to ::1 address. I am able to see the WSDL from my browser. So the
server is successfully bound to IPv6. The webservices server is implemented
in Axis java.

The client is a standalone and it uses Axis2c. The application log on the
client side says it was able to get the stub and call the request and get a
response. Does this mean it was able to make a connection?
The response comes out to be null and the error I get is error code
is* 75*and the error message is
*"A read attempt(HTTP) for the reply without sending the request".*
**
Am I doing anything wrong, is there any change I need to do to get it to
work

Thanks in advance
Preet

AW: Can Axis2c work in IPv6 env?

Posted by Stadelmann Josef <jo...@axa-winterthur.ch>.
The best you can do is to snap a TCPMonitor in-between client and server
or use Wireshark, a network protocol analyzer. 

Once installed on your PC  it helps thereafter in many situations and
makes you known about what is going on the network.

Otherwise I would say: I have never seen a windows system with only IPv6
enabled. I have seen plenty with IPv4 enabled 

and IPv6 switched of, and today most have IPv4 and IPv6 switched on. Why
- you may read WIKI for IPv4 and IPv6,

it is worth reading.  It is not only what stack you have implemented on
one or two of your machines. It's the network as such,

how it is setup and planned, including/excluding address translations
and routing issues etc. This partner-boxes play the game 

as well. No easy lunch. God luck!

Josef

 

Out of WIKI for IPv6

 

While IPv6 is supported on all major operating systems in use in
commercial, business, and home consumer environments,[3]
<http://en.wikipedia.org/wiki/IPv6#cite_note-2>  IPv6 does not implement
interoperability features with IPv4, and creates essentially a parallel,
independent network. Exchanging traffic between the two networks
requires special translator gateways, but modern computer operating
systems implement dual-protocol software for transparent access to both
networks using 'tunneling
<http://en.wikipedia.org/wiki/Tunneling_protocol> '. In December 2010,
despite marking its 12th anniversary as a Standards Track protocol, IPv6
was only in its infancy in terms of general worldwide deployment
<http://en.wikipedia.org/wiki/IPv6_deployment> . A 2008 study[4]
<http://en.wikipedia.org/wiki/IPv6#cite_note-3>  by Google Inc.
<http://en.wikipedia.org/wiki/Google_Inc.>  indicated that penetration
was still less than one percent of Internet-enabled hosts in any country
at that time.

 

 

 

Von: preet $ [mailto:preet3039@gmail.com] 
Gesendet: Montag, 20. Juni 2011 18:08
An: Apache AXIS C User List
Betreff: Can Axis2c work in IPv6 env?

 

Hello,

 

     I am using Axis2c1.6 and wanted to know if it works with IPv6. I
see some responses that says it does not. Please find the installation
scenario... 

 

 I have a windows 7 and it has dual stack. I have my webservices server
running on JBoss. I started JBoss with -b ipv6 address and I see the
port 8080 bound to ::1 address. I am able to see the WSDL from my
browser. So the server is successfully bound to IPv6. The webservices
server is implemented in Axis java. 

 

The client is a standalone and it uses Axis2c. The application log on
the client side says it was able to get the stub and call the request
and get a response. Does this mean it was able to make a connection? 

The response comes out to be null and the error I get is error code is
75 and the error message is "A read attempt(HTTP) for the reply without
sending the request".

 

Am I doing anything wrong, is there any change I need to do to get it to
work

 

Thanks in advance

Preet


Re: gSOAP and AxisC

Posted by Sam Carleton <sc...@miltonstreet.com>.
Run, don't walk, away from Axis2/C.  Granted, it is a vital piece of
my software but going with Axis2/C was a HUGE mistake and I am looking
at options to move away from it.  The support does not exist, aka it
has been on version 1.6 for about two years now.  Granted, it does
allow you to do all the basic web service stuff, but it is simply
painful, fare more painful then it is worth.

In hind sight, I should have used Microsoft's WCF, far easier to work
with and rich in features!   If cross platform is important, I think
Axis2/Java is mainstream, but I am not 100% sure on that.  If you
really want the speed of C/C++ and you can control the hardware, look
at Microsoft's Windows Web Services (WWS):

http://msdn.microsoft.com/en-us/magazine/ee335693.aspx

WWS requires either Windows Server 2008 R2 or Windows 7.  Microsoft
claims that you can get the run time for Vista or XP, but I think it
cost 5 figures or more, outside what I can afford to pay for my little
one man shop.

As far as your questions:

Axis2/C does have a basic frontend that will implement the HTTP stack
for you, but it is REAL basic.  Using Apache gives you a ton more
features, which is what I do, I use Apache.  One nice thing about
Axis2, there is a tool in the Axis2/Java project called WSDL2C which
will generate the C code needed to make implementing the WSDL for you:

http://axis.apache.org/axis2/c/core/docs/axis2c_manual.html#wsdl2c

Sam

On Wed, Jun 22, 2011 at 6:25 AM, Venkata Rathnamaiah Nichenametla
<ve...@aricent.com> wrote:
>
> Hi,
>
> We need to implement a server and client at our machine which is talking to other end which is implemented as WebServer (weblogic) through Java with an WSDL file.
>
> Do I need to use AxisC with gSOAP and HTTP daemon.
>
> or AxisC will take care if we integrate with HTTP daemon.
>
> Just to add : The other client shared only WSDL with us to implement this methodology.
>
> Implementation scenario: We need to send SOAP Request message and we will be disconnecting. Later The weblogic server connect to us to send the Asynchronous SOAP response. (We would like to implement using C/C++)
>
>
> Thanks
> Venkat
> ===============================================================================
> Please refer to http://www.aricent.com/legal/email_disclaimer.html
> for important disclosures regarding this electronic communication.
> ===============================================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
For additional commands, e-mail: c-user-help@axis.apache.org


gSOAP and AxisC

Posted by Venkata Rathnamaiah Nichenametla <ve...@aricent.com>.
Hi,

We need to implement a server and client at our machine which is talking to other end which is implemented as WebServer (weblogic) through Java with an WSDL file.

Do I need to use AxisC with gSOAP and HTTP daemon.

or AxisC will take care if we integrate with HTTP daemon.

Just to add : The other client shared only WSDL with us to implement this methodology.

Implementation scenario: We need to send SOAP Request message and we will be disconnecting. Later The weblogic server connect to us to send the Asynchronous SOAP response. (We would like to implement using C/C++)


Thanks
Venkat

===============================================================================
Please refer to http://www.aricent.com/legal/email_disclaimer.html
for important disclosures regarding this electronic communication.
===============================================================================

AW: Can Axis2c work in IPv6 env?

Posted by Stadelmann Josef <jo...@axa-winterthur.ch>.
Why not making the same client as axis2/Java client, 

and if that works then you know that your TCPIP Stack using only the
IPv6 protocol works 

when told to work by the axis2/J transport_sender and axis2/J
transport_receiver.

but fails when told to work by the axis2/C transport_sender or
transport_receiver.

Again - one for Wireshark which can show you exceptions on a level axis2
can't.

I've found once checksum errors caused by hardware, switching checksum
calculation

by hardware off and enabling it by software was a workaround unless
network HW was

Changed.

Josef

 

Von: preet $ [mailto:preet3039@gmail.com] 
Gesendet: Montag, 20. Juni 2011 22:45
An: Apache AXIS C User List
Betreff: Re: Can Axis2c work in IPv6 env?

 

Hello

 

    Some more info...The axis log has the following lines

 

[Mon Jun 20 09:58:02 2011] [debug]
..\..\src\core\transport\http\sender\http_transport_sender.c(246)
ctx_epr:http://::1:8080/test/services/testService
[Mon Jun 20 09:58:02 2011] [debug]
..\..\src\core\transport\http\sender\http_transport_sender.c(805) using
axis2 native http sender.
[Mon Jun 20 09:58:02 2011] [debug]
..\..\src\core\transport\http\sender\http_sender.c(416)
msg_ctx_id:urn:uuid:367381f6-823a-4436-96ce-42a3c98079b1
[Mon Jun 20 09:58:03 2011] [error]
..\..\src\core\transport\http\sender\http_client.c(238) Error creating a
socket. Most probably error returned by OS
[Mon Jun 20 09:58:03 2011] [error]
..\..\src\core\transport\http\sender\http_client.c(239) Socket Creation
failed.
[Mon Jun 20 09:58:03 2011] [error]
..\..\src\core\transport\http\sender\http_client.c(544) client data
stream  null or socket error for host  and 80 port
[Mon Jun 20 09:58:03 2011] [error]
..\..\src\core\transport\http\sender\http_client.c(548) A read
attempt(HTTP) for the reply without sending the request
[Mon Jun 20 09:58:03 2011] [error]
..\..\src\core\transport\http\sender\http_sender.c(1381) status_code < 0
[Mon Jun 20 09:58:03 2011] [error] ..\..\src\core\engine\engine.c(179)
Transport sender invoke failed

I tried with various types of IPv6 ::1, [::1], 0:0:0:0:0:0:0:1 but from
the above message it looks like it is not taking the host and port
correctly. Did anyone get the same result.  Is there a work around.

 

Thanks

Preet

 

On Mon, Jun 20, 2011 at 12:07 PM, preet $ <pr...@gmail.com> wrote:

Hello,

 

     I am using Axis2c1.6 and wanted to know if it works with IPv6. I
see some responses that says it does not. Please find the installation
scenario... 

 

 I have a windows 7 and it has dual stack. I have my webservices server
running on JBoss. I started JBoss with -b ipv6 address and I see the
port 8080 bound to ::1 address. I am able to see the WSDL from my
browser. So the server is successfully bound to IPv6. The webservices
server is implemented in Axis java. 

 

The client is a standalone and it uses Axis2c. The application log on
the client side says it was able to get the stub and call the request
and get a response. Does this mean it was able to make a connection? 

The response comes out to be null and the error I get is error code is
75 and the error message is "A read attempt(HTTP) for the reply without
sending the request".

 

Am I doing anything wrong, is there any change I need to do to get it to
work

 

Thanks in advance

Preet

 


Re: Can Axis2c work in IPv6 env?

Posted by preet $ <pr...@gmail.com>.
Hello

    Some more info...The axis log has the following lines

[Mon Jun 20 09:58:02 2011] [debug]
..\..\src\core\transport\http\sender\http_transport_sender.c(246)
ctx_epr:http://::1:8080/test/services/testService
[Mon Jun 20 09:58:02 2011] [debug]
..\..\src\core\transport\http\sender\http_transport_sender.c(805) using
axis2 native http sender.
[Mon Jun 20 09:58:02 2011] [debug]
..\..\src\core\transport\http\sender\http_sender.c(416)
msg_ctx_id:urn:uuid:367381f6-823a-4436-96ce-42a3c98079b1
[Mon Jun 20 09:58:03 2011] [error]
..\..\src\core\transport\http\sender\http_client.c(238) Error creating a
socket. Most probably error returned by OS
[Mon Jun 20 09:58:03 2011] [error]
..\..\src\core\transport\http\sender\http_client.c(239) Socket Creation
failed.
*[Mon Jun 20 09:58:03 2011] [error]
..\..\src\core\transport\http\sender\http_client.c(544) client data stream
null or socket error for host  and 80 port
*[Mon Jun 20 09:58:03 2011] [error]
..\..\src\core\transport\http\sender\http_client.c(548) A read attempt(HTTP)
for the reply without sending the request
[Mon Jun 20 09:58:03 2011] [error]
..\..\src\core\transport\http\sender\http_sender.c(1381) status_code < 0
[Mon Jun 20 09:58:03 2011] [error] ..\..\src\core\engine\engine.c(179)
Transport sender invoke failed

I tried with various types of IPv6 ::1, [::1], 0:0:0:0:0:0:0:1 but from the
above message it looks like it is not taking the host and port correctly.
Did anyone get the same result.  Is there a work around.

Thanks
Preet

On Mon, Jun 20, 2011 at 12:07 PM, preet $ <pr...@gmail.com> wrote:

> Hello,
>
>      I am using Axis2c1.6 and wanted to know if it works with IPv6. I see
> some responses that says it does not. Please find the installation
> scenario...
>
>  I have a windows 7 and it has dual stack. I have my webservices server
> running on JBoss. I started JBoss with -b ipv6 address and I see the port
> 8080 bound to ::1 address. I am able to see the WSDL from my browser. So the
> server is successfully bound to IPv6. The webservices server is implemented
> in Axis java.
>
> The client is a standalone and it uses Axis2c. The application log on the
> client side says it was able to get the stub and call the request and get a
> response. Does this mean it was able to make a connection?
> The response comes out to be null and the error I get is error code is* 75
> * and the error message is *"A read attempt(HTTP) for the reply without
> sending the request".*
> **
> Am I doing anything wrong, is there any change I need to do to get it to
> work
>
> Thanks in advance
> Preet
>