Re: [Axis2C] Regarding WSDL2C tool for Axis2C

2007-04-26 Thread Milinda Pathirage
Hi, To use the WSDL2C tool you have to include all the jars in the Axis2 lib directory if you download to your class path. Following shell script will do the all the tasks required. ---

SSL and certificate support

2007-04-26 Thread Greg Denton
Sorry if this is in some documentation somewhere (I've tried and not found if). A cursory glance at the rampart code shows a lot of references to ssl and certificates. Some specific questions: Is SSL supported on server side? Client? Are client side certificates (i.e. server-requested

[Axis2] SSL and certificate support

2007-04-26 Thread Dumindu Pallewela
Please use the correct prefix... Dumindu. Greg Denton wrote: Sorry if this is in some documentation somewhere (I’ve tried and not found if). A cursory glance at the rampart code shows a lot of references to ssl and certificates. Some specific questions: Is SSL supported on server side?

[AXIS2] Module configuration and flows

2007-04-26 Thread Ephemeris Lappis
Hello. I'm trying to make a simple custom module. According to the tutorial from Axis site, I've added the custom phase in the four flow definitions of the conf/axis2.xml : in, out, fault in and fault out. Indeed, my handler expects calls for these four flows. Then, for a testing service,

Axis2/Java Cannot build samples

2007-04-26 Thread VijesH
When I try to build Axis2/Java samples from source using ant, I get this error ___ /usr/bin/build-classpath: error: could not find jaxp_parser_impl Java extension for this JVM /usr/bin/build-classpath: error: could not find xml-commons-apis Java extension for this JVM

Re: wsdl2java: UnmatchedTypeException: No type was mapped

2007-04-26 Thread Amila Suriarachchi
What is the axis2 version you use? I tried with the axis2-1.2-RC2 and it looks good. On 4/25/07, Stefan Neumann [EMAIL PROTECTED] wrote: Hi all, when I run wsdl2java, it throws an UnmatchedTypeException so no java sources are generated. Can somebody help me what the problem is? You can find

Re: Axis2/Java Cannot build samples

2007-04-26 Thread Amila Suriarachchi
have you set the AXIS2_HOME environmet variable correctly? On 4/26/07, VijesH [EMAIL PROTECTED] wrote: When I try to build Axis2/Java samples from source using ant, I get this error ___ /usr/bin/build-classpath: error: could not find jaxp_parser_impl Java extension for

Re: wsdl2java: UnmatchedTypeException: No type was mapped

2007-04-26 Thread Stefan Neumann
Thanks for testing. I use axis2-1.1.1 . So this must be a bug and already fixed. I will try to switch to the RC. Thanks Amila Suriarachchi wrote: What is the axis2 version you use? I tried with the axis2-1.2-RC2 and it looks good. On 4/25/07, Stefan Neumann [EMAIL PROTECTED] wrote: Hi

[Axis2] Get access to ServletContext

2007-04-26 Thread Jochen Zink
Hello, I use Client Certiicate authentication. Afeter authentication the client certificate is placed in the SessionContext from the Servlet. For authorisation I need access to this certificate. Is any possiblity to get access of the Servlet/SessionContext? Thanks! Regards! Jochen Zink

Re: Invalid Content Type Field in the Mime Message

2007-04-26 Thread Thilina Gunarathne
Please post the message snapshots to see what's going wrong... You can use tcpmon[1] to capture the messages.. Thanks, Thilina [1]http://ws.apache.org/commons/tcpmon On 4/26/07, Jennifer Yang [EMAIL PROTECTED] wrote: Hi, I'm integrating with a thirdparty client which sends two attachments. I

Re: [Axis2] Get access to ServletContext

2007-04-26 Thread Deepal Jayasinghe
Hi Jochen, Try the following, http://wso2.org/library/480 Thanks Deepal Hello, I use Client Certiicate authentication. Afeter authentication the client certificate is placed in the SessionContext from the Servlet. For authorisation I need access to this certificate. Is any possiblity to get

Re: [axis2 ]soap session scope does not work

2007-04-26 Thread Nencho Lupanov
Hi Sanjesh, yes, i have: client.engageModule(new QName(addressing)); in my client - you can take a look at this at Client.java that i attached in my previous post. Thanks, Nencho 2007/4/25, Sanjesh Pathak [EMAIL PROTECTED]: Hi Nencho, Did you engage addressing module on the client

Re: [axis2 ]soap session scope does not work

2007-04-26 Thread Nencho Lupanov
Hi Anil, Thanks but this is for this but it is about transport session scope and i need soap session scope, where ws addressing come to play and sends an identifier(pretty much like a cookie) that is passed fforth and back. Thanks, Nencho 2007/4/25, Anil Chukkapalli [EMAIL PROTECTED]: You

Re: Axis2 xmlbeans http transport error 302 found

2007-04-26 Thread Markus F.
Paul I guess I can't monitor a http*s* connection with tcpmon? I mean I could but I would't see anything readable... Unfortunately my service is only available over TLS, so I will not be able to figure out whats going over the line that easy. Is there no other way of debbuging? What I've also

soapsession with axis2 and vb.net client

2007-04-26 Thread Stefan Egli
Hi I'm new to web services and I have some question concerning interoperability and session-handling with axis2 and .NET. I'm using axis2 1.1.1 on server-side for my basic web service. I tried to invoke this service with my client written in VB.NET (using proxy classes generated with wsdl.exe).

Generating fixed value for complex type element

2007-04-26 Thread Kacper Mosienski
Hi all, my name is Kacper Mosienski. I'm using complex type messages in services running on Axis engine. What I'm trying to achieve is to make one of parameters of this message to have fixed value. In the wsdl file the message definition would look as follow: complexType name=ExampleMessage

Re: Generating fixed value for complex type element

2007-04-26 Thread Kacper Mosienski
Kacper Mosienski wrote: Hi all, my name is Kacper Mosienski. I'm using complex type messages in services running on Axis engine. What I'm trying to achieve is to make one of parameters of this message to have fixed value. In the wsdl file the message definition would look as follow:

Re: [axis2 ]soap session scope does not work

2007-04-26 Thread Nencho Lupanov
Hi Deepal, I checked the test and yes i was able to run it successfull. anyway, when i try to put this in my running enviroment i get this strange error: [java] Exception in thread main org.apache.axis2.AxisFault: Unable to fin d corresponding context for the serviceGroupId:

Re: [axis2 ]soap session scope does not work

2007-04-26 Thread Nencho Lupanov
Hi Deepal, what about this jira issue: https://issues.apache.org/jira/browse/AXIS2-2561 Does it means that we need to wait the issue to be closed in order to use the soap session scope? Thanks, Nencho 2007/4/26, Deepal Jayasinghe [EMAIL PROTECTED]: Hi Nencho , Axis2 soap session to be

Re: Generating fixed value for complex type element

2007-04-26 Thread Martin Gainty
Kacper hand-crafting (Axis1 specific) WSDD for Axis2 environment is no longer necessary You can now incorporate your complexType into your service's wsdl then you can declare part of the message to be that type (as you see in the following example) ?xml version=1.0 encoding=UTF-8?

Re: [axis2 ]soap session scope does not work

2007-04-26 Thread Nencho Lupanov
Hi Sanjesh, I tried with axis1.1.1 and it works. It fails with axis 1.2. thaks, Nencho 2007/4/26, Sanjesh Pathak [EMAIL PROTECTED]: Hi Nencho, I am using Axis2 version 1.1.1 and it is working fine in my local environment here for session scope. What version of Axis2 are you using? I

Re: soapsession with axis2 and vb.net client

2007-04-26 Thread Anil Chukkapalli
Stefan I suggest you look at this thread **Axis2 Manage Session Cookie Manually in the mailing list. Anil On 4/26/07, Stefan Egli [EMAIL PROTECTED] wrote: Hi I'm new to web services and I have some question concerning interoperability and session-handling with axis2 and .NET. I'm using

Re: Axis2 xmlbeans http transport error 302 found

2007-04-26 Thread Paul Fremantle
Markus Is this a publicly available server that we can try? Paul On 4/26/07, Markus F. [EMAIL PROTECTED] wrote: Paul I guess I can't monitor a http*s* connection with tcpmon? I mean I could but I would't see anything readable... Unfortunately my service is only available over TLS, so I will

[Axis2] How to get result after calling OperationClient.execute(true)

2007-04-26 Thread Anil Chukkapalli
hi I am using Axis2 OperationClient API with MTOM. I got the result back as i can see using TCPMon is there a standard way to access the result after we get the message context and the SOAP envelope. Thanks Anil

WORKAROUND to BindException in axis client

2007-04-26 Thread david2
In the bug report (AXIS2-2593) Michele's comments point out a link to a link to a link that identified a workaround. To clarify, this is a workaround to the AxisFault caused by the BindException Address already in use: connect generated when you very rapidly send messages to a web service

Re: axis2 in tomcat, java.net.BindException: Address already in use:

2007-04-26 Thread david2
Here is a web site Michele pointed me to addressing this OS limitation and workarounds for Windows, AIX, Solaris: http://publib.boulder.ibm.com/infocenter/cmgmt/v8r3m0/index.jsp?topic=/com.ibm.eclient.doc/trs40019.htm On Windows XP, I used TcpTimedWaitDelay=30 and MaxUserPort=65535 -David --

Re: To many open connections

2007-04-26 Thread david2
Here is a web site Michele pointed me to addressing this OS limitation and workarounds for Windows, AIX, Solaris: http://publib.boulder.ibm.com/infocenter/cmgmt/v8r3m0/index.jsp?topic=/com.ibm.eclient.doc/trs40019.htm On Windows XP, I used TcpTimedWaitDelay=30 and MaxUserPort=65535 -David --

Re: Invalid Content Type Field in the Mime Message

2007-04-26 Thread Jennifer Yang
Thilina, Here are the request and response. Request:== POST /broker/services/mm7 HTTP/1.0 Host: 127.0.0.1: Content-Type: multipart/related; boundary=NextPart_000_0125_01C19839.7237929064; type=text/xml; start=0704191919160100

Re: Problems using Axis on i5/iSeries/AS400/whatever they call it these days

2007-04-26 Thread Jon Brisbin
Thanks for this info. It turns out that another copy of axis.jar (from an older project) was in the /QIBM/UserData/Java400/ext directory, so the classloading was all wonky, just as you describe. Once I removed the axis.jar file from there, I was able to fire Axis up in Tomcat on the i5. Runs like

Re: Axis2 xmlbeans http transport error 302 found

2007-04-26 Thread Markus F.
Paul thanks for your engagement about this. I'm sorry, the server is not available to public, you have to sign a test account contract (as we did) with the company providing the service. This is also why i didnot post my code. I know that that will not ease the whole thing to solve. The only

Axis2 1.1.1 java.net.SocketTimeoutException: Read timed out

2007-04-26 Thread Ninad Agate
I am using axis2 1.1.1 release. In my code I call org.apache.axis2.client.ServiceClient.sendReceive(elem). It throws following timeout exception after ~40 seconds. I have set HTTPConstants.SO_TIMEOUT and HTTPConstants.CONNECTION_TIMEOUT properties to 5 minutes. Has anyone run into this issue? Are

Re: [Axis2] How to get result after calling OperationClient.execute(true)

2007-04-26 Thread Deepal Jayasinghe
Hi Anil, You get get the OperationContext from the operation client and from that you can get the response message context. Once you have the message context , you can get the SOAPEnvelop from the MC. Have a look at Working with OperationClient section in the following article for more infor.

Re: Axis2/Java Cannot build samples

2007-04-26 Thread VijesH
Yes, the problem was with env variable. Once the path is correct! It works fine. Thanks On 4/26/07, Amila Suriarachchi [EMAIL PROTECTED] wrote: have you set the AXIS2_HOME environmet variable correctly? On 4/26/07, VijesH [EMAIL PROTECTED] wrote: When I try to build Axis2/Java samples from