Error:Transport out is not set in message context

2007-05-10 Thread lars.schumacher
Hello to all, I have a problem with the transport_out variable in my message_cxt, it is not instantiated and i don't know why. Can someone tell me, where and how the variable is set. Regards Lars

Re: Error:Transport out is not set in message context

2007-05-10 Thread Samisa Abeysinghe
[EMAIL PROTECTED] wrote: Hello to all, I have a problem with the transport_out variable in my message_cxt, it is not instantiated and i don't know why. Can someone tell me, where and how the variable is set. It is set by the engine, you do not have to set it. What client are you trying to

Re: LNK2005 axutil_error_messages

2007-05-10 Thread mark . nuessler
hello users, same issue again, i've downloaded the current svn-version (Revision 536815), compiled it, set the enviroment vars, etc. my system(s) : WinXP, vs2003 + vs2005 The problem with 'error LNK2005: _axutil_error_messages already defined' appears, when i compile any sample as C++ (/TP),

Re: LNK2005 axutil_error_messages

2007-05-10 Thread Samisa Abeysinghe
[EMAIL PROTECTED] wrote: hello users, same issue again, i've downloaded the current svn-version (Revision 536815), compiled it, set the enviroment vars, etc. my system(s) : WinXP, vs2003 + vs2005 The problem with 'error LNK2005: _axutil_error_messages already defined' appears, when i compile

RE: Error:Transport out is not set in message context

2007-05-10 Thread lars.schumacher
Hello Samisa, the client is a C# webapplication, that uses the SoapHttpClientProtocol from WSE 2.0. The Server is the newest Axis2c Server or what for information you need/want. Thanks Lars -Original Message- From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 10. Mai

Re: LNK2005 axutil_error_messages

2007-05-10 Thread mark . nuessler
Hello users, hello Samisa, i took the echo-sample, with /TC there is no prob, i can compile, deploy, run - but with /TP not. Both times I use /MDd. the error is : 'echo_skeleton.obj : error LNK2005: _axutil_error_messages already defined in echo.obj' Here is the begin of the build process,

Transport_out

2007-05-10 Thread lars.schumacher
Hello, I need more information about the Transport_out variable in the message context. Where the engine reads this information and how i send this information to the server. Here for example the Soap-Document what i send to the Server. Regards Lars ?xml version=1.0 encoding=utf-8?soap:Envelope

Re: LNK2005 axutil_error_messages

2007-05-10 Thread Mark Nüßler
hello users, hello lars, if have used '/FORCE:MULTIPLE' or '/FORCE' and can build the dll, but this dll's crashes the axis2_http_server.exe, so this is no good solution ;-) When you compile with /FORCE:MULTIPLE didn't your server crash ? thx + mfg derMark [EMAIL PROTECTED] schrieb: I have

RE: LNK2005 axutil_error_messages

2007-05-10 Thread lars.schumacher
Hello Mark, What you mean with server crash (what is the error)? Yes of course my Server is running. Regards Lars -Original Message- From: Mark Nüßler [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 10. Mai 2007 17:08 To: Apache AXIS C User List Subject: Re: LNK2005

Echo client invoke faild

2007-05-10 Thread lars.schumacher
Hello, Echo client invoke failed. Running the samples, so that i can say my configuration is false or don't run the samples? Thanks Lars

Re Echo client invoke faild

2007-05-10 Thread Samisa Abeysinghe
[EMAIL PROTECTED] wrote: Hello, Echo client invoke failed. Running the samples, so that i can say my configuration is false or don't run the samples? Echo client runs. There has to be something wrong in the configuration. Please have a look into the logs, both client and server. The logs

Re: Echo client invoke faild

2007-05-10 Thread Samisa Abeysinghe
[EMAIL PROTECTED] wrote: Hello Samisa, the client is a C# webapplication, that uses the SoapHttpClientProtocol from WSE 2.0. The Server is the newest Axis2c Server or what for information you need/want. Please have a look into the server log. That might help to figure out the problem. Have

Re: Unexpected subelement, encryption problem

2007-05-10 Thread Jochen Zink
Hello, I have not a solution for your problem, because I have the same one :) Please take a look at this bug http://issues.apache.org/jira/browse/RAMPART-29 Maybe it hits your problem, to. regards Jochen -Ursprüngliche Nachricht- Von: axis-user@ws.apache.org Gesendet: 09.05.07

Re: Unexpected subelement, encryption problem

2007-05-10 Thread Amila Suriarachchi
see my comment on this issue. http://issues.apache.org/jira/browse/RAMPART-29 Can you find the decripted message and send us? On 5/10/07, Jochen Zink [EMAIL PROTECTED] wrote: Hello, I have not a solution for your problem, because I have the same one :) Please take a look at this bug

Re: Release notes don't mention change in class name for generated stubs

2007-05-10 Thread Amila Suriarachchi
I really sorry for your inconvenience. Anyway we discussed this in user and developer lists. Earlier Axis2 generated the code only for one port. But now it generates the code for all the ports So if you want to generate the code only for one binding please specify them with the -sn servicename

Re: [Axis2] WS-RM and Axis2 Asynch Client not Returning

2007-05-10 Thread Paul Fremantle
Ted I'm with Martin! I think the easiest thing would be if you could send us a simple test case that shows what's happening. Paul On 5/10/07, Ted Jones [EMAIL PROTECTED] wrote: So, I'm guessing that the message is never reaching the server. Which may explain why there is no logging? I can see

[Axis 1.4] setReturnType is guessing the wrong type

2007-05-10 Thread etoom etoom
Hi, I have this code: .. QName returnTypeName = new QName(http://www.w3.org/2001/XMLSchema;, string); call.setReturnType(returnTypeName); .. When I call invoke I get the following exception: caught exception while handling request:

Re: [AXIS2] Module not avaible exception

2007-05-10 Thread Amila Suriarachchi
try to create the service client like this ConfigurationContext configurationContext = ConfigurationContextFactory.createConfigurationContextFromFileSystem(AXIS2_REPOSITORY, AXIS2_CONF); ServiceClient sender = new ServiceClient(configurationContext, null); By giving a valid axis2.xml

Re: Keystore in Axis2 war

2007-05-10 Thread Amila Suriarachchi
I think you can give the full path to file here e.g. org.apache.ws.security.crypto.merlin.file=/home/test/TestKeyStore or a relative path from the jboss bin folder On 5/9/07, sridhar vudutha [EMAIL PROTECTED] wrote: Martin, Putting the test.properties file in

Re: Unexpected subelement, encryption problem

2007-05-10 Thread Jochen Zink
Hi, I have captured the messages and have done some tests. You can see the very strange results an the issue. http://issues.apache.org/jira/browse/RAMPART-29 It looks a little bit strange, ... maybe it is an axis2 bug and not a rampart bug. But please take a look. I'm not so deep inside the

Re: [Axis2 1.2] Migrated from Axis2-1.1.1 to Axis2-1.2 and ...

2007-05-10 Thread Amila Suriarachchi
can you send your wsdl and options you used in wsdl2java? On 5/8/07, Rudolph, Troy [EMAIL PROTECTED] wrote: Hello Samaya, When I installed Axis2-1.2, I regenerated the code using WSDL2Java, and then rebuilt the project. I did not change anything other than to add the implementation code in

Re: Sequence of choices, or no serializer for AnyType

2007-05-10 Thread Amila Suriarachchi
try to generate the code with ADB binding (i.e the defult) and using -b (for backwork compatibility) option On 5/7/07, Axel Bock [EMAIL PROTECTED] wrote: Hi Paul, thanks for that. I just learned that our decision for Axis1 had other reasons, I just assumed it was compatibility with 1.4. One

Re: Performances of Axis2 over Axis 1.1

2007-05-10 Thread Amila Suriarachchi
I think the problem is with the xmlbeans. xml beans is a slow databinding framewrok. Try to use ADB or jibx which are much faster data binding frame works. On 5/4/07, Paul Fremantle [EMAIL PROTECTED] wrote: Jack I'm still not sure what you are describing. WSDL is a description language that

Re: Creating Axis2 SOAP Header

2007-05-10 Thread Daniel Herbison
Thank you for your replies! I tried the code below and still get a runtime casting error. Exception in thread main java.lang.ClassCastException: org.apache.axiom.soap.impl.llom.soap12.SOAP12Factory at rpcAxSys.header2(Unknown Source) at rpcAxSys.main(Unknown Source)

[Axis2] Incomplete code generation with wsdl2java, in adb mode

2007-05-10 Thread Stephane Roy
Hi, The XSD schema used by my WSDL defines the following types: ... xsd:complexType name=typeA xsd:sequence xsd:element name=typeB xsd:simpleType xsd:restriction base=xsd:positiveInteger xsd:minExclusive value=01/ xsd:maxInclusive value=99/

Re: Unexpected subelement, encryption problem

2007-05-10 Thread Jon Horsman
see my comment on this issue. http://issues.apache.org/jira/browse/RAMPART-29 Can you find the decripted message and send us? you can put an System.out at the message Receiver and see the message I'll see if i can figure out exactly where to put the system.out but I haven't done any axis

Re: Creating Axis2 SOAP Header

2007-05-10 Thread Michele Mazzucco
Daniel, could you please enable the debug of javac (it is enabled by default, remove the -g:none option) and tell us which line causes the problem? Michele On Thu, 2007-05-10 at 05:28 -0700, Daniel Herbison wrote: Thank you for your replies! I tried the code below and still get a runtime

Axis2: OMElement response message problem

2007-05-10 Thread HF/EBC
Hi everybody, I'm having a problem with Axis2 web service that uploads txt file. The downloading works fine. The file content is binary 64 type and is transfered as xml element in the Soap message.(not as attachment!!!) The size of my txt file is 3 KB. When I minimized the file size to1 KB

maven2 wsdl2code plugin

2007-05-10 Thread Ecker Severin
Hi, I've just updated my repository to use the newest axis2 snapshot which fixed a few bugs that concerned me, but now the wsdl2code mojo doesn't work anymore at all: [ERROR] BUILD ERROR [INFO] [INFO] Internal error in the

Re: [Axis2] Service Versioning support ?

2007-05-10 Thread Samaya Althuru
Any ideas please My question is... Suppose if we need to update schema as per new clients requirements which is already published to existing clients. How to support existing customers without effecting them from new changes immediately? Thanks, Samaya Samaya Althuru [EMAIL PROTECTED]

RE: [Axis2] WS-RM and Axis2 Asynch Client not Returning

2007-05-10 Thread Ted Jones
Thanks Amila. I appreciate the input. I am using Dual channel since it appeared to be required per this thread: http://mail-archives.apache.org/mod_mbox/ws-sandesha-dev/200703.mbox/%3C [EMAIL PROTECTED] Is this the case? I am using Sandesha2 1.1 with Axis2 1.1.1. I have verified your points

Re: [Axis2] Incomplete code generation with wsdl2java, in adb mode

2007-05-10 Thread Amila Suriarachchi
have you put elementFormDefault=qualified in your schma? On 5/10/07, Stephane Roy [EMAIL PROTECTED] wrote: Hi, The XSD schema used by my WSDL defines the following types: ... xsd:complexType name=typeA xsd:sequence xsd:element name=typeB xsd:simpleType

Re: Axis2: OMElement response message problem

2007-05-10 Thread Martin Gainty
Any reason why you are cannot xmit the entity with Attachment as in /sample/soapwithattachments/client/SWAClient.java example? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If

Re: Creating Axis2 SOAP Header

2007-05-10 Thread Daniel Herbison
I changed this: SOAPFactory factory = (SOAPFactory) OMAbstractFactory.getSOAP12Factory(); and got rid of the error but it is failing on the call with: Exception in thread main org.apache.axiom.soap.SOAPProcessingException: Expecting an implementation of SOAP Envelope as the parent. But

RE: Axis2: OMElement response message problem

2007-05-10 Thread HF/EBC
Hi Martin, thank you for your answer. The reason is time and that I would like to reuse my Axis 1 .xsd, wsdl and server side code since it is an working application. But if it is not possible to upload xml element with 3 Kb size in Axis2 (strange thing is that when debuging and looking on

Re: [Axis2] WS-RM and Axis2 Asynch Client not Returning

2007-05-10 Thread Paul Fremantle
Ted FYI The latest Sandesha builds (and the upcoming 1.2 release) support RM 1.0 without a separate listener. There has been a lot of work to support this. Paul On 5/10/07, Ted Jones [EMAIL PROTECTED] wrote: Thanks Amila. I appreciate the input. I am using Dual channel since it appeared

Re: [Axis2] Incomplete code generation with wsdl2java, in adb mode

2007-05-10 Thread Amila Suriarachchi
Any way this is a bug and I fixed it for the trunk. On 5/10/07, Amila Suriarachchi [EMAIL PROTECTED] wrote: have you put elementFormDefault=qualified in your schma? On 5/10/07, Stephane Roy [EMAIL PROTECTED] wrote: Hi, The XSD schema used by my WSDL defines the following types: ...

Re: working in .NET, but Unexpected subelement return when I try to run as axis2 client

2007-05-10 Thread Amila Suriarachchi
can you try either putting return to parameterOrder='arg0 arg1' ie parameterOrder='arg0 arg1 return' or removing parameterOrder='arg0 arg1' And can you find the Response and send it to us? On 5/9/07, Rick Reumann [EMAIL PROTECTED] wrote: I'm trying to figure out why I'm getting this

Re: [Axis2 1.2] Java2WSDL with support of SwA and/or MTOM

2007-05-10 Thread Thilina Gunarathne
Axis2 supports Java2WSDL only for MTOM... String uploadFile(String userID, String fileName) {} Try changing the method as follows, String uploadFile(String userID, DataHandler file) {} My second question is: What will be the differences between MTOM and SwA in terms of Web Service

Re: Creating Axis2 SOAP Header

2007-05-10 Thread Michele Mazzucco
What about env.serialize(System.out)?, where env is a SOAPEnvelope object? Michele On Thu, 2007-05-10 at 07:55 -0700, Daniel Herbison wrote: I changed this: SOAPFactory factory = (SOAPFactory) OMAbstractFactory.getSOAP12Factory(); and got rid of the error but it is failing on the call

Re: Keystore in Axis2 war

2007-05-10 Thread sridhar vudutha
Amila, Thanks for the response. I tried with different paths but couldn't get it working. I have placed the TestKeyStore in conf/props folder and mentioned the below paths. org.apache.ws.security.crypto.merlin.file=C:\jboss- 4.0.5.GA\server\default\conf\props\TestKeyStore

RE: [Axis2] WS-RM and Axis2 Asynch Client not Returning

2007-05-10 Thread Ted Jones
That's good to know. Thanks Paul. -Original Message- From: Paul Fremantle [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 10:00 AM To: axis-user@ws.apache.org Subject: Re: [Axis2] WS-RM and Axis2 Asynch Client not Returning Ted FYI The latest Sandesha builds (and the upcoming

WSS4J signature authentication, doesn't appear to cross reference ca root authority

2007-05-10 Thread Karen Loughran
Hi all, I'm using apache axis 1.x and have set up WS Security Axis handlers and wss4j (v1.5) for the authentication of signed messages at the requestFlow of my service and client. Having carried out some tests, I realise that wss4j security (at least action signature) just enables mutual

How to set transport out?

2007-05-10 Thread Chau, Hoang
Hi, How to set the transport out explicitly? I understand that axis2 will take the default one in axis2.xml but it appears that it doesn't set the transport correctly? I search on the web and check the jars in lib to make sure every jars file is there. Nothing is abnormal. Here is the error:

Re: How to set transport out?

2007-05-10 Thread Davanum Srinivas
Hoang, do you have the commons http client jar in the classpath? -- dims On 5/10/07, Chau, Hoang [EMAIL PROTECTED] wrote: Hi, How to set the transport out explicitly? I understand that axis2 will take the default one in axis2.xml but it appears that it doesn't set the transport correctly?

RE: How to set transport out?

2007-05-10 Thread Chau, Hoang
Yes, Davanum. I have all 51 jars file in my classpath. Thank you. Hoang -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 9:58 AM To: axis-user@ws.apache.org Subject: Re: How to set transport out? Hoang, do you have the commons http

Re: Release notes don't mention change in class name for generated stubs

2007-05-10 Thread John G. Norman
Amila, All I'm asking for is that the release notes should describe things that break dependencies. Even a link to an archived e-mail in the user or developer list would help. Anything: Just a toehold. :-) John On 5/10/07, Amila Suriarachchi [EMAIL PROTECTED] wrote: I really sorry for your

RE: How to set transport out?

2007-05-10 Thread Chau, Hoang
Hi Martin, The version of axis2 is 1.2 The version of common http client is 3.0.1 Hoang -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 11:19 AM To: axis-user@ws.apache.org Subject: Re: How to set transport out? Chau- I dont see 5.1 for

RE: [Axis2] XMLBeans Implementation

2007-05-10 Thread Edward Bush
That package isn't anywhere -- static or generated. Is the package name being incorrectly generated, or am I missing something here? Is it possible this is my error and not one of the Axis2 components? Anyone successfully using Axis2 1.2 + XMLBeans? With or without the wsdl2code and/or aar

Re: [Axis2] XMLBeans Implementation

2007-05-10 Thread robert lazarski
Seems like you've run into a common problem: http://ws.apache.org/axis2/tools/1_2/CodegenToolReference.html#invoking An important detail is that an XMLBean class file is also generated by WSDL2Java, TypeSystemHolder.class. That file is placed into build/classes by the above ant task and will be

Debug using SimpleHTTPServer

2007-05-10 Thread Pablo Bendersky
Hi, I'm trying to setup a development environment with Axis2 where it's easy for me to debug my services, but at the same time easy to deploy them on a production server. After looking around, I thought a good idea was to use Tomcat to deploy and the embedded SimpleHTTPServer to debug. So, I

RE: [Axis2] XMLBeans Implementation

2007-05-10 Thread Edward Bush
That's not much of a work-around if a person is using Maven to build with. You can't just pause the build in the middle, fix things, and then let it continue ... maybe I can fix it with an ant task in process-sources ... Hey, thanks for helping me find that! I was having no luck! So, which

SOAP 1.1 Messages with Axis 1.4

2007-05-10 Thread Nathan Wells
I have built a web service client in Java using Axis 1.4. When I call the web service, the server responds with an HTTP 415 error because the content type of the message is 'application/soap+xml; charset=UTF-8' instead of 'text/xml; charset=utf-8'. The developer responsible for the server

Re: [Axis2] XMLBeans Implementation

2007-05-10 Thread Paul Fremantle
A hint. The generated ANT tasks that get created when you use XMLBeans usually do everything necessary. ADB is getting closer and closer to supporting as much Schema as is feasible. One approach is to identify any schema issues that ADB has with your WSDL and raise JIRAs - you might end up

Re: Debug using SimpleHTTPServer

2007-05-10 Thread Dennis Sosnoski
Hi Pablo, I generally stay with Tomcat for testing, hooking in for remote debugging from my IDE. To do this, you first have to start Tomcat with the debug transport enabled (using catalina.sh jpda start on Linux/Unix/Mac). You can then connect to the running server code from your IDE. Using

Re: Debug using SimpleHTTPServer

2007-05-10 Thread Pablo Bendersky
Dennis, Thanks, I'll try debugging directly in Tomcat. On 5/10/07, Dennis Sosnoski [EMAIL PROTECTED] wrote: Hi Pablo, I generally stay with Tomcat for testing, hooking in for remote debugging from my IDE. To do this, you first have to start Tomcat with the debug transport enabled (using

Re: [Axis2] Web service with no implementation

2007-05-10 Thread Daniel Feist
Yes, I was planning to do this programmatically rather than using aar. It looks like i'll need to implement my own dispatcher and receiver. My concern was that the axis2 API would not let me create axis engine/services without serviceClass. Although you are right i can use a dummy service

problem trying to call a service using separate listener

2007-05-10 Thread Jim Alateras
I have written a web service client to call the getVersion operation of the Version service that is part of the axis2 distribution. The following code works fine ServiceClient client = new ServiceClient(); client.setTargetEPR(new

Re: problem trying to call a service using separate listener

2007-05-10 Thread Jim Alateras
Martin, The addressing module is enabled in the axis2.xml file. Do I also need to set the -Daxis2.repo property? cheers /jima Martin Gainty wrote: can you check this module entry in %AXIS2_HOME%\conf\axis2.xml module ref=addressing/ M-- This email message and any files transmitted with

[Axis2] ADB unwrapping broken in 1.2?

2007-05-10 Thread Dennis Sosnoski
Is anyone getting unwrapping to work with ADB in the 1.2 release? I tried my example project from http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/example/adb-client (which worked fine in 1.1.1) and found that I'm now getting the wrapped style everywhere in the generated code even though

Re: Release notes don't mention change in class name for generated stubs

2007-05-10 Thread Dennis Sosnoski
Hi John, I agree completely - the Axis2 releases have been careless about breaking backward compatibility without even mentioning the breaks in the documentation. It looks like there's going to be a new set of API changes going into the 1.3 build, so I'll try to monitor what's changed in the

Re: [Axis2] Creating Axis2 SOAP Header

2007-05-10 Thread Eran Chinthaka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, the first advice is *never* use impl classes inside Axiom. Always use the factories. The reason is we have multiple implementations of them. To correct your problem, the easiest way is to create an OMElement rather than a SOAPHeaderBlock and call

Re: Creating Axis2 SOAP Header

2007-05-10 Thread Samisa Abeysinghe
Eran Chinthaka wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Samisa Abeysinghe wrote: Amila Suriarachchi wrote: I am not sure about your problem. but add this code to specifically set the soap12 for service client. clientOptions = new Options();