Re: WSDL2Java in Axis2 is not working?

2006-07-09 Thread Kinichiro Inoguchi
Hi, Ajith, Unfortunately, latest nightly builds axis2-std-SNAPSHOT-bin.zip 09-Jul-2006 23:31 has NOT axis2-adb-codegen-SNAPSHOT.jar yet. I hope std distribution has this jar, too. Could you check build script again, please ? BTW, latest axis2.war has axis2-adb-codegen-SNAPSHOT.jar, successfully

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 N

Re: WSDL2Java in Axis2 is not working?

2006-07-09 Thread Ajith Ranabahu
Hi Bruno/all, I've found (and corrected) an error in the build script that copied the adb-codegen-.jar into the wrong location of the distribution. That is what caused the problem in the nightlies and should be alright by now (Though I'm not sure whether an update of the buildscripts is needed

RE: [Axis 1.4] Error Version Mismatch when deploying

2006-07-09 Thread Jeffrey Ng
Hi Tim,   The info can be found here: http://www.codeproject.com/soap/soap12inNet20.asp When a SOAP 1.2 message reaches a SOAP 1.1 node it will generate a SOAP fault containing a version mismatch. When a SOAP 1.2 node receives a SOAP 1.1 message it can do one of the tw

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 <[EMA

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

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 the WSDL (doc literal) will form the basis of a commercial interface specification for 3rd partie

Re: [axis 1.4] - AxisFault - Bug

2006-07-09 Thread Benjamin Fan
Line 994, 1009, etc are in error:  

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

2006-07-09 Thread Doug B
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 parse XML anyway, and your XML parser can vali

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 protect

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 ha

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: org.apache.axis2.sche

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: 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) to

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: 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 d

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 PR

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 http://www.brazilou

Re: Axis2: Crazy characters being sent

2006-07-09 Thread Bruno Negrao
Guys, I'm sorry for reposting this message but I cannot pass this problem, and this way I cannot move on in my project. Could someone try to see why am I getting these "alien" characters on the wire? thank you. bruno. On 7/8/06, Bruno Negrao <[EMAIL PROTECTED]> wrote: Hi guys, the SOAP message

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 org.apache.axi

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 informa

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] 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 ?

[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: C:\work\axis2-std-SNAP

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

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 element within the element > of the outflowConfiguration parameter to specify the elements you

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 / 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