Re: [Axis2]Re: Binary data problems

2006-07-09 Thread Paweł Pustelnik
I still can not run it as a module, I tried with Apache 2.2.x this time. LoadModule axis2_module modules/mod_axis2.dll Location /axis2 SetHandler axis2_module RepoPath C:/Program Files/Apache Group/Apache2/axis2c LogFile C:/Program Files/Apache

Re: [Axis2]Re: Binary data problems

2006-07-09 Thread Sahan Gamage
Hi, Module works only with Apache 2.0.xx since it was compiled against that version. If you want to run it with 2.2.xx you have to recompile the module agaist 2.2.xx libraries. Paweł Pustelnik wrote: I still can not run it as a module, I tried with Apache 2.2.x this time. LoadModule

Re: [Axis2]Re: Binary data problems

2006-07-09 Thread Paweł Pustelnik
Dnia 09-07-2006 o 10:35:05 Sahan Gamage [EMAIL PROTECTED] napisał: Hi, Module works only with Apache 2.0.xx since it was compiled against that version. If you want to run it with 2.2.xx you have to recompile the module agaist 2.2.xx libraries. Paweł Pustelnik wrote: I still can not run it as

Re: [Axis2]Re: Binary data problems

2006-07-09 Thread Paweł Pustelnik
Hi, I also would like to ask about generating C code for the service. It can be done this way: java WSDL2Code -Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties -uri test.wsdl -ss -sd -d none However I can only generate java code this way: java WSDL2Code

Re: [Axis2]Re: Binary data problems

2006-07-09 Thread Samisa Abeysinghe
Paweł Pustelnik wrote: Hi, I also would like to ask about generating C code for the service. It can be done this way: java WSDL2Code -Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties -uri test.wsdl -ss -sd -d none However I can only generate java code this

Re: [Axis2]Re: Binary data problems

2006-07-09 Thread Ajith Ranabahu
Hi, You'll have to use the latest SVN code to make this work. AFAIR this feature was added later. However if you are using either the bat file or the shell script then you cannot pass the VM argument (starting with -D) like that. You'll have to edit the script and add it to the scipt inside since

Re: Axis2 / Axis RPC

2006-07-09 Thread M S
Hi,I saw that you have added a solution to your JIRA... is it possible for you to give me a nightly build with the modifications you have?RegardsOn 7/6/06, Kinichiro Inoguchi [EMAIL PROTECTED] wrote: Hi,If you use Axis2 1.0 release version, it will work.RPCMessageReceiver of Nightly Builds have

Re: Axis2 / Axis RPC

2006-07-09 Thread Kinichiro Inoguchi
Hi, I sent you 1 jar file by another mail. I think you have 2 problems. One is WSDL2Java code generation issue, and another is response message not qualified well issue. WSDL2Java code generation issue seems still remain in nightly build 09-Jul-2006 01:35. I got these stack trace,

Re: [Axis2] rampart question

2006-07-09 Thread Michele Mazzucco
Hi Ruchith, thanks for your reply. Michele Ruchith Fernando wrote: Hi Michele, If you do not explicitly specify the encryptionParts then rampart will only encrypt the body. You can use the encryptionParts element within the action element of the outflowConfiguration parameter to specify

Re: WSDL2Java in Axis2 is not working?

2006-07-09 Thread Ajith Ranabahu
Hi, I found the following problems in your WSDL 1. The schema namespace was wrong 2. The elements were supposed to be having qualified names as types 3. The binding name was wrong in the port The corrected file is attached On 7/9/06, Bruno Negrao [EMAIL PROTECTED] wrote: Thanks Bille, But

[Axis2] stub generation for version service

2006-07-09 Thread Kinichiro Inoguchi
Hi, With current nightly builds, can you generate stub by WSDL2Java ? I'm trying to generate stub code for version service, But I got these errors. C:\work%AXIS2_HOME%\bin\wsdl2java -uri http://localhost:8080/axis2/services/version?wsdl -p test -o stub Using AXIS2_HOME:

Re: [Axis2] stub generation for version service

2006-07-09 Thread Ajith Ranabahu
Hi, Sorry about the trouble. There was an error in the build script that prevented a necessary jar from being copied in to the dist. The next nightly should be ok Ajith On 7/9/06, Kinichiro Inoguchi [EMAIL PROTECTED] wrote: Hi, With current nightly builds, can you generate stub by WSDL2Java ?

Re: [Axis 1.4] Username and password are null from C# client

2006-07-09 Thread Martin Gainty
Good Morning At First Glance I dont see a style declaration e.g. RPC or DocLiteral? Also I dont see a Datatype declaration for either username or password (assume xsd:string) We could verify both items if you could display the wsdl for us Anyone else? Martin --

Re: Axis2 / Axis RPC

2006-07-09 Thread Martin Gainty
-set AXIS2_HOME to the root folder where you have extracted the AXIS2 files -add %AXIS2_HOME%\lib\axis2-codegen-1.0.jar to your CLASSPATH Martin-- * This email message and any files transmitted with it contain confidential

Re: WSDL2Java in Axis2 is not working?

2006-07-09 Thread Bruno Negrao
Hi Ajith, thanks for helping. But using you version now brings the following errors: Exception in thread main org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.ClassNotFoundException: org.apache.axis2.schema.ExtensionUtility at

Re: WSDL2Java in Axis2 is not working?

2006-07-09 Thread robert lazarski
Looks like you unfortunately are using a nightly build that had some problems. This particular one was discussed on the dev list a few days ago. Try the latest nightlies. The latest XmlSchema-SNAPSHOT.jar should have org.apache.axis2.schema.ExtensionUtility.class . HTH, Robert

RE: [Axis 1.4] Username and password are null from C# client

2006-07-09 Thread Neil Aggarwal
Martin: Apparently, I was throwing an AxisFault that returned a 500 error code instead of a 401 error. Here is a bug I found that was very helpful: http://issues.apache.org/bugzilla/show_bug.cgi?id=11763 Thanks, Neil -Original Message- From: Martin Gainty [mailto:[EMAIL

Re: WSDL2Java in Axis2 is not working?

2006-07-09 Thread Bruno Negrao
Thanks Robert, I'll try it out right now. By the way, did you see my posting about the crazy characters? Maybe that is another bug too... On 7/9/06, robert lazarski [EMAIL PROTECTED] wrote: Looks like you unfortunately are using a nightly build that had some problems. This particular one was

Bug? Cannot instantiate AxisOperation object

2006-07-09 Thread Bruno Negrao
Hi guys, when I try to instantiate an AxisOperation object with: AxisOperation agendaPesquisa = new AxisOperation(); that gives me an Unresolved compilation problem: Exception in thread main java.lang.Error: Unresolved compilation problem: Cannot instantiate the type AxisOperation

Re: Bug? Cannot instantiate AxisOperation object

2006-07-09 Thread Martin Gainty
Good Morning Bruno Can we see the code for TestAgenda (line 46 specifically) Can we see the WSDL? Martin-- * This email message and any files transmitted with it contain confidential information intended only for the person(s)

Re: Bug? Cannot instantiate AxisOperation object

2006-07-09 Thread Bruno Negrao
Good morning Martin. I'm not using a wsdl for this test. TestAgenda class is attached. try it out there in your machine and tell me what happens. I already installed the latest nightly build and I'm still having the error. Can we see the code for TestAgenda (line 46 specifically) on line 46 is

Re: WSDL2Java in Axis2 is not working?

2006-07-09 Thread Bruno Negrao
Guys, I'm trying to use wsdl2java from the latest nightly snapshot (axis2) and I'm still having errors. The wsdl file is attached. Exception in thread main org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.ClassNotFoundException:

Re: WSDL2Java in Axis2 is not working?

2006-07-09 Thread Bruno Negrao
At least the eclipse plugin is Axis2_Code_Generator is creating everything fine. I'll use this one instead (it's much easier to use). thank you, bruno. On 7/9/06, Bruno Negrao [EMAIL PROTECTED] wrote: Guys, I'm trying to use wsdl2java from the latest nightly snapshot (axis2) and I'm still

Re: Bug? Cannot instantiate AxisOperation object

2006-07-09 Thread Martin Gainty
Take a look at org.apache.axis2.Axis2SampleDocLitServiceStub.java for the following example code (I took a peek at it in between watching the World Cup) From what I can see you need to establish array of NameOfAxisOperation [] in this fashion //establish Array of AxisOperations on stack

Schema Validation (WAS: [axis2] Validating Messages :: WSDL :: choice)

2006-07-09 Thread Doug B
warning: long, best practice questions to follow Interesting to hear you say that, Anne. I've been on a multi-year quest to get automatic, fast validation out of a Web Services engine. Conceptually, it always seemed like the right approach (especially for Document-Literal). If you're having to

Re: [axis 1.4] - AxisFault - Bug

2006-07-09 Thread Benjamin Fan
Line 994, 1009, etcare in error: soap:fault name= Don't know what impact this has but you need to vet your WSDL very carefully (I use both XMLSpy the WS-I checks from within Eclipse). Axis seems to accept incorrect WSDL gernerate dodgey code as a result. On 7/10/06, Gmail [EMAIL PROTECTED]

Re: Schema Validation (WAS: [axis2] Validating Messages :: WSDL :: choice)

2006-07-09 Thread Benjamin Fan
If there is going to be a discussion then I would very much like to participate in it. I am in the middle of building a production system where I do in fact need to validate against the schema. In fact theWSDL (doc literal)will form the basis of a commercial interface specification for 3rd

Re: [Axis2] stub generation for version service

2006-07-09 Thread Kinichiro Inoguchi
Hi, Ajith. Latest nightly build seems to have this problme, still. I tried axis2-std-SNAPSHOT-bin.zip 09-Jul-2006 16:28. But, I downloaded axis2-adb-codegen-SNAPSHOT.jar from Nightly snapshots, and place it in lib directory. Then WSDL2Java works fine. Regards, kinichiro --- Ajith Ranabahu

Re: Axis2: Crazy characters being sent

2006-07-09 Thread Ajith Ranabahu
Hi, You have HTTP chunking enabled. see the header Transfer-Encoding: chunked What you see as numbers are actually the byte counts. Although you see these numbers in TCPMon they have nothing to do with the message and will be handled by the client/server appropriately. Ajith On 7/9/06, Bruno