SV: CustomSSLSocketFactory combined with Axis2 - works once, but not several times?

2007-04-11 Thread Peter Gylling Jørgensen
Dear all, I have found exactly what breaks my test case, but I don't understand why. The code sample shows what happens and you can find a typical log in my previous mail. Apparently I can successfully connect once and retrieve an answer once, but second request will fail with SSL Handshake err

Re: [AXIS2] MTOM is not sending binary data as references for array of DataHandlers

2007-04-11 Thread Thilina Gunarathne
Sounds like a bug to me... Please log a JIRA.. If possible include your WSDL and a test case... Thilina On 4/12/07, Masin, Valerie <[EMAIL PROTECTED]> wrote: One of my datatypes is an array of DataHandlers (DataHandler[]). (I got the wsdl to generate this by setting my base64Binary's maxOccur

Re: install axis in nb 5.5

2007-04-11 Thread Jati Kalingga Praja
Hei thxit worked well. Now, anyone can give me a short tutorial for creating web services using axis2 in netbeans 5.5? Im confused here, coz all the examples that i found in google is not built in Netbeans... On 4/11/07, Belunek Karel <[EMAIL PROTECTED]> wrote: NetBeans 5.5 stores Wep

NullPointerException.

2007-04-11 Thread Chau, Hoang
Hi all, I got the following NullPointerException when I ran my client using Axis2. I searched on the web and I saw that this error happend when the missing jars in Axis 2 library. But I have all the Axis2 jars in my library. I checked it multiple time especially the file commons-httpclient-3.0.

[AXIS2] Single Sign-on and ServiceClient

2007-04-11 Thread Alamgir Farouk
Hi, I am new to both authentication and web services. We are trying to deploy Axis2 in a tomcat which has pubcookie single-sign-on authentication. I understand how to programmatically authenticate using, say, apache commons httpclient. However, I am not sure how I can combine this with Servic

Re: Validation Error with library.wsdl in Example

2007-04-11 Thread david2
Anil, What exactly is being overwritten? I'm new at this, but I believe that the Skeleton is the only thing you should be providing if you are using WSDL2Java. All of the other classes that are generated by WSDL2Java should be used as-is. -David -- View this message in context: http://www.na

RE: [AXIS2] How to deploy service without .aar

2007-04-11 Thread Masin, Valerie
Voila, you have answered my question. I didn't realize I needed to create a directory with my servicename in the services directory with the meta-inf under it. Thanks -Original Message- From: Alistair Young [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 11, 2007 4:07 PM To: axis-user@ws

Re: Axis2 under JBoss 4.0.2 and J2EE question

2007-04-11 Thread Victor Mendoza
In Jboss 4.04, if you are adding the jar files to the ear and you want to make them vissible to the War files inside the EAR, you needed to define them in the EAR Manifest file. On 4/11/07 12:24 PM, "Lasantha Ranaweera" <[EMAIL PROTECTED]> wrote: > This is more of a JBoss question than Axis2. I

Re: [AXIS2] How to deploy service without .aar

2007-04-11 Thread Alistair Young
I did this today. I didn't use an aar. Instead I put all the classes in WEB-INF/classes, including schemaorg_apache_xmlbeans from resources. The only thing I have in WEB-INF/services/ServiceName is: META-INF/ Service.wsdl services.xml I tried putting some of the classes in Axis2 and the rest in W

[AXIS2] MTOM is not sending binary data as references for array of DataHandlers

2007-04-11 Thread Masin, Valerie
One of my datatypes is an array of DataHandlers (DataHandler[]). (I got the wsdl to generate this by setting my base64Binary's maxOccurs to unbounded) When I use MTOM I had expected to see each of these base64Binary objects as separate references to entities outside the soap message. However,

[AXIS2] How to deploy service without .aar

2007-04-11 Thread Masin, Valerie
Hello, I need to have some of my .class files live in the web-inf/classes directory since other non-axis apps use them. I would prefer to not have to put some of them there and the rest in the .aar so I would like to put them all in web-inf/classes. I tried not using the .aar at all but couldn't fi

How to wire in custom data handler in Axis2?

2007-04-11 Thread Liyu
Need to figure out how to wire in a custom data handler in Axis2. The motivation of doing this is to handle scenario of sending a large attachment which there is no way to fit into memory and need to be persisted while incrementally read from the input stream. -- View this message in context: ht

Re: addendum: Re: Unexpected subelement when calling adb stub method

2007-04-11 Thread Anton Pirker
Hi Anne! Anne Thomas Manes wrote: Axis2 does not support rpc/encoding. Does this mean that i can completely forget to implement a client for the service? Or can i just change the binding from rpc to document and everything will be fine? (i will try this tomorrow morning in the office, from

RE: Can we define multiple web services in single WSDL?

2007-04-11 Thread George Hunter
Jose, Did you ever get the WS-Addressing to work for axis1.4? I saw another post by you about that, but didn't see a response. I can't verify my signature because it wants my addressing elements. George Hunter SOA Practice Manager Tier1 Innovation, LLC [EMAIL PROTECTED] 303-667-5068 ---

Re: java.util.Map and more specifically HashMap

2007-04-11 Thread Anne Thomas Manes
The WSDL-first approach is best, but you can also write a java interface that exposes your data using simple types and arrays, and use it to generate your WSDL. You will have to write the code to cast your interface structures to your collection types. Anne On 4/10/07, Xinjun Chen <[EMAIL PROTEC

Re: addendum: Re: Unexpected subelement when calling adb stub method

2007-04-11 Thread Anne Thomas Manes
Axis2 does not support rpc/encoding. On 4/11/07, Anton Pirker <[EMAIL PROTECTED]> wrote: Hi again! In my first mail i forget the Binding of the WSDL. Maybe this is also important: -- snip - http://schemas.xmlsoap.org/soap/http"/> htt

Re: WSDL version

2007-04-11 Thread Anne Thomas Manes
Axis 1.x generates rpc/encoded by default. Axis2 generates document/literal. Anne On 4/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: What are the differences between wsdl produced by Axis 1.4 and Axis2? There is some way to produce the same Axis 1.4 wsdl version with Axis2? I use thi

Re: Web services behind restrictive firewalls but XML schemas on the web

2007-04-11 Thread Enver ALTIN
On 4/11/07, Paul Fremantle <[EMAIL PROTECTED]> wrote: You need to ensure that you have written and deployed an Axis handler for the mm7:TransactionID header. Thanks a lot, probably that's what I'm missing. Can you please explain how did you figure it out, or point me to a document? -- Enver --

Re: Axis2 Spring EJB Lookup with Weblogic 814

2007-04-11 Thread Martin Gainty
Also.. please display /META-INF/ejb-jar.xml specifically everything inside the section? also please list all files include subdirs located at YourWebappFolder/ejb/src Thx M- This email message and any files transmitted with it contain confidential information intended only for the person(s) t

Re: Web services behind restrictive firewalls but XML schemas on the web

2007-04-11 Thread Paul Fremantle
Enver You need to ensure that you have written and deployed an Axis handler for the mm7:TransactionID header. Paul On 4/11/07, Enver ALTIN <[EMAIL PROTECTED]> wrote: On 4/11/07, Paul Fremantle <[EMAIL PROTECTED]> wrote: > The mustUnderstand is not part of the schema. I'm guessing the schema >

Re: Axis2 Spring EJB Lookup with Weblogic 814

2007-04-11 Thread robert lazarski
Can you please print the entire stack trace? What version of WAS are you using? This might not be a spring issue but rather an axis2 deploy issue. Have you read this doc ? http://ws.apache.org/axis2/1_1_1/app_server.html Do you have your aar in services.list ? HTH, Robert On 4/11/07, John Pfei

Re: Axis2 under JBoss 4.0.2 and J2EE question

2007-04-11 Thread Lasantha Ranaweera
This is more of a JBoss question than Axis2. I faced a similar kind of problem in JBoss 3.2.3 long time back with it's default class loading behavior (at that time it was called unified class loading). I remembered that default class loading could be changed at that time in JBoss and think no

Re: Can not build sample projects of Axis2

2007-04-11 Thread Great Man
Okay I solved this issue. You can not build sample projects with ant 1.7. You have to use ant1.6.2 for that Could some one please point to docs team of Axis. to put it on web site. Great Man <[EMAIL PROTECTED]> wrote: Has not any one seen this problem ??? I freshly installed jdk1.5/Axis/Ant/T

Re: [Axis2] wsdl2java overriding my files

2007-04-11 Thread Martin Gainty
Anil- you should be managing the outDir attribute to reflect whatever outDir specification you have set from a (possibly set from environment) property e.g. you can now you use the OUTDIR environment variable set in the environment outdir = "${env.OUTDIR}" documentation is available at ht

AW: [Axis2] wsdl2java overriding my files

2007-04-11 Thread Stadelmann Josef
No. DoAxis2 should do it like some good CORBA code generators do it! maybe check that with IONA i.e. In the original version of the stubs or skeleton files or the metod impl file (at DEC time), the code generator placed special pairs of markups after each method header. And the programmer wa

Problem serializing

2007-04-11 Thread Bounds, Daniel \(DBOUNDS\)
All, I'm trying write an adapter for an email server that calls a web service. My application first retrieves and email from a POP3 server then encodes the email into and XML format. The format is defined by Mail.xsd supplied by Oracle. I used the Mail.xsd and jaxb to create all of my stub code to

Re: [Axis2] wsdl2java overriding my files

2007-04-11 Thread Anil VVNN
Thanks. I even tried putting ".overwrite" file under base dir and listed all the Java files which I want wsdl2java tool to generate those files only but didn't help either. Philipp Leitner-2 wrote: > > OK, after your last posting I was finally able to understand what you > actually want to d

Axis2 under JBoss 4.0.2 and J2EE question

2007-04-11 Thread HF/EBC
Hi all, Is it possible to use Axis2 embeded web services (in our own webapp) under Jboss 4.0.2 packaged in a ear file? The jars that are used in my webapp are located under Jboss deploy because they are shared with other applications not under webapp WEB-INF/lib. It seems that those jars are

Axis2 Spring EJB Lookup with Weblogic 814

2007-04-11 Thread John Pfeifer
I was wondering if anyone has been able to get Axis2 Spring integration to lookup EJBs in Weblogic 814. We are running with all libraries in the aar lib directory (this is where the ejb client jars reside). The aar fails to deploy, the root cause being NoClassDefFound. Any help would be grea

Re: install axis in nb 5.5

2007-04-11 Thread Belunek Karel
NetBeans 5.5 stores WepApplication in users home directory (in linux ~/.netbeans/5.0/jakarta-tomcat-5.5.9_base). If you use windows, try your Document and Settings direcory. Jati Kalingga Praja napsal(a): When i put the war, i haven't started the tomcat, then i started it...& when i was trying

Re: [Axis2] wsdl2java overriding my files

2007-04-11 Thread Philipp Leitner
OK, after your last posting I was finally able to understand what you actually want to do :-) -- you have generated stubs with wsdl2java in the past, changed them and are now re-running wsdl2java, and want to somehow preserve your changes. I am quite sure that this is not possible with Axis o

Re: install axis in nb 5.5

2007-04-11 Thread Jati Kalingga Praja
When i put the war, i haven't started the tomcat, then i started it...& when i was trying to browse http://localhost:8084/axis2it didn't showed up... On 4/11/07, Belunek Karel <[EMAIL PROTECTED]> wrote: I have installed it via Tomcat Manager (WAR upload), but solution described usually work

Re: Validation Error with library.wsdl in Example

2007-04-11 Thread Anil VVNN
Hi, I have a question about WSDL2Java code generation tool, I have a requirement to change the generated files i.e. wrapper objects of complex types and skeleton code. But after modifying the generated files, if I run WSD2Java again it is overriding all the changes except for skeleton code. S

Re: install axis in nb 5.5

2007-04-11 Thread Belunek Karel
I have installed it via Tomcat Manager (WAR upload), but solution described usually works. Did you restart Tomcat? Jati Kalingga Praja napsal(a): I did it, but it still didn't work...Anyone can help? On 4/11/07, Michele Mazzucco <[EMAIL PROTECTED]> wrote: The war file should go to /enterpri

Re: install axis in nb 5.5

2007-04-11 Thread Jati Kalingga Praja
I did it, but it still didn't work...Anyone can help? On 4/11/07, Michele Mazzucco <[EMAIL PROTECTED]> wrote: The war file should go to /enterprise3/apache-tomcat/webapps/ Michele On Wed, 2007-04-11 at 11:14 +0700, Jati Kalingga Praja wrote: > I did... > > But it didn't workI put it unde

Re: [Axis2] JiBX unwrapped with Fault example

2007-04-11 Thread david2
Dennis, One other thing: after I successfully ran the web service generated by the library example, I added a simple unmarshall/marshall target to the build.xml. However, I can't get an XML file containing a Type element to successfully marshall or unmarshall. This is the ant target I am using

CustomSSLSocketFactory combined with Axis2 - works once, but not several times?

2007-04-11 Thread Peter Gylling Jørgensen
Dear all, I would like a little help on this issue. I have a AXIS2 v. 1.1.1 client code which talks to a HTTPS based OpenSSL SOAP service. So far so good. I can do the following: 1. Connect with a standalone HttpClient using a custom SSLSocketFactory and a custom Protocol So I know I have a

AXIS2 1.1.1 problem with BASIC AUTH

2007-04-11 Thread Belunek Karel
Hello everyone, I'm new to AXIS and I would like to ask for help. I have Axis2 1.1.1 under Tomcat 5.5.9 and I have correctly working Axis service generated from WSDL file. Now I'm trying to implement BASIC authenticacion. On server side I'have se security constraint on the Tomcat level, it

Re: Web services behind restrictive firewalls but XML schemas on the web

2007-04-11 Thread Enver ALTIN
On 4/11/07, Paul Fremantle <[EMAIL PROTECTED]> wrote: The mustUnderstand is not part of the schema. I'm guessing the schema applies to the SOAP body, but the mustUnderstand headers are part of the headers. Neither Axis nor Axis2 needs the schema at runtime. Can you attach an example SOAP message

Re: Can we define multiple web services in single WSDL?

2007-04-11 Thread José Ferreiro
Hello here a sample with several web services (from binary sources wss4j) Hophe this helps! José http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd " xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; xmlns:soap="http://schemas.xmlsoap.or

Re: JRE 6.0 http transport support in Axis?

2007-04-11 Thread Davanum Srinivas
Commons http supports NTLM. -- dims On 4/11/07, Colum Daly <[EMAIL PROTECTED]> wrote: Does Axis 1.4 support the inbuilt JRE 6.0 http transport? We have a requirement to create an Axis client that will use the JRE 6.0 http transport for communication. Apparently the JRE 6.0 Http Client offers f

Validation Error with library.wsdl in Example

2007-04-11 Thread david2
Dennis, Bless you my son for the incredible insight you have provided in this example. I had wrestled with the issue of JiBX mapping for non-trivial types for many hours before I stumbled on your example. I am well on my way now. One thing: Although I can get your example to work, and I have

Re: Can we define multiple web services in single WSDL?

2007-04-11 Thread biswadip saha
hi it will help http://www.w3.org/TR/wsdl.html On 4/11/07, biswadip saha <[EMAIL PROTECTED]> wrote: hi friend, one service is related to one wsdl. thats why in url?wsdl is used. to see wsdl for that service. my answer was that only. On 4/11/07, Vikas <[EMAIL PROTECTED]> wrote: > > Hi

Re: Can we define multiple web services in single WSDL?

2007-04-11 Thread biswadip saha
hi friend, one service is related to one wsdl. thats why in url?wsdl is used. to see wsdl for that service. my answer was that only. On 4/11/07, Vikas <[EMAIL PROTECTED]> wrote: Hi friends, It doesn't related to class with same name. I mean, can we have multiple tags in one WSDL

Re: Can we define multiple web services in single WSDL?

2007-04-11 Thread Vikas
Hi friends, It doesn't related to class with same name. I mean, can we have multiple tags in one WSDL file with different service name? and also can we have multiple tags in one WSDL file? With best regards From Vikas R. Khengare - Original Message - From: biswadip

Axis 1.4 and unreferenced classes

2007-04-11 Thread Hiller, Frank RD-PT31
Hello Axis user list! I used Axis 1.1 in Tomcat environment and changed to 1.4 now. Due to performance issues I transfer lists of objects as byte array to the client. All the classes to be published are listed in the WSDD file, each in a "beanMapping" section. When I create the WSDL with Axis 1.1

Re: Can we define multiple web services in single WSDL?

2007-04-11 Thread biswadip saha
Hi all can you create two class in same directory with same name.??? its like that On 4/11/07, Nilesh Ghorpade <[EMAIL PROTECTED]> wrote: Hi Vikas, As per my knowledge you can define multiple services in a single wsdl. Regards Nilesh - Original Message From: Vikas <[EMAIL PROT

Re: [Axis2] wsdl2java overriding my files

2007-04-11 Thread Anil VVNN
I couldn't able to find the solution yet. Could somebody shed light on this. Thanks. Philipp Leitner-2 wrote: > > Hmm, I might be wrong, but I think that the package that wsdl2java > generates the data objects to depend on the namespace of these objects > in the WSDL file ... but I am quite s

Re: Can we define multiple web services in single WSDL?

2007-04-11 Thread Nilesh Ghorpade
Hi Vikas, As per my knowledge you can define multiple services in a single wsdl. Regards Nilesh - Original Message From: Vikas <[EMAIL PROTECTED]> To: axis user Sent: Wednesday, April 11, 2007 3:59:04 PM Subject: Can we define multiple web services in single WSDL? Hi Friends, Ca

Can we define multiple web services in single WSDL?

2007-04-11 Thread Vikas
Hi Friends, Can we define multiple web services in single WSDL? [Means If I want to define more than one web services in one WSDL, can we do so? If "No", why so?] With best regards From Vikas R. Khengare

Exposing wsdl using xmlbeans as data binding framwork

2007-04-11 Thread Johannes . Kjellgren
I have generated an axis2 web service using xmlbeans as binding framwork. Everything works fine but when I'm trying to access the service from a .NET application I get the error: Unable to generate WSDL for this service. However, I found out that it depends on the message receiver. RPC*Messag

Re: Web services behind restrictive firewalls but XML schemas on the web

2007-04-11 Thread Paul Fremantle
Enver The mustUnderstand is not part of the schema. I'm guessing the schema applies to the SOAP body, but the mustUnderstand headers are part of the headers. Neither Axis nor Axis2 needs the schema at runtime. Can you attach an example SOAP message and the exceptions? Paul On 4/11/07, Enver

Web services behind restrictive firewalls but XML schemas on the web

2007-04-11 Thread Enver ALTIN
Hi, I'm trying to implement 3GPP MM7[1] DeliverReq service. After importing the xsd and creating the wsdl file by hand I was able to generate required code using Eclipse. That was easy. But I'm in a weird situation that's a bit hard to explain. Given that: * I have absolutely no control over t

Lorg/apache/xmlbeans/SchemaTypeSystem;

2007-04-11 Thread Le Foulgoc Bertrand
Hi, I get this strange error when trying to execute a simple pojo request with axis2, has anyone bumped into this one already? org.apache.axis2.AxisFault: java.lang.NoClassDefFoundError: Lorg/apache/xmlbeans/SchemaTypeSystem; Thanks!

RE: Wsdl2java wss

2007-04-11 Thread Olivier DUGAST
OK thanks, Olivier. -Message d'origine- De : Angel Todorov [mailto:[EMAIL PROTECTED] Envoyé : mercredi 11 avril 2007 10:52 À : axis-user@ws.apache.org Objet : Re: Wsdl2java wss Hi Oliver, This is not possible at the moment. you have to do it manually. Regards, Angel On 4/11/07, Olivi

Re: Wsdl2java wss

2007-04-11 Thread Angel Todorov
Hi Oliver, This is not possible at the moment. you have to do it manually. Regards, Angel On 4/11/07, Olivier DUGAST <[EMAIL PROTECTED]> wrote: Yes : WSS Security with rampart module with authentification. I used soap UI( soapui.org) to test my secure service. It works. I would like to use se

RE: Wsdl2java wss

2007-04-11 Thread Olivier DUGAST
Yes : WSS Security with rampart module with authentification. I used soap UI( soapui.org) to test my secure service. It works. I would like to use secure service , whith my client stub generated by wsld2java. Regards, Olivier -Message d'origine- De : Angel Todorov [mailto:[EMAIL PROTE

WSDL version

2007-04-11 Thread s . masoni
What are the differences between wsdl produced by Axis 1.4 and Axis2? There is some way to produce the same Axis 1.4 wsdl version with Axis2? I use this WSDL to produce proxies in .NET environment and switching from axis 1.4 to axis 2 lead me to different proxy structure. Thank you in advance.

Re: Wsdl2java wss

2007-04-11 Thread Angel Todorov
What do you mean by WSS? WS-Security ? And what exactly do you want to set up ? Regards, Angel On 4/11/07, Olivier DUGAST <[EMAIL PROTECTED]> wrote: Hi all, How to setup wsdl2java to use axis webservice with WSS? Olivier.

Wsdl2java wss

2007-04-11 Thread Olivier DUGAST
Hi all, How to setup wsdl2java to use axis webservice with WSS? Olivier. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: install axis in nb 5.5

2007-04-11 Thread Michele Mazzucco
The war file should go to /enterprise3/apache-tomcat/webapps/ Michele On Wed, 2007-04-11 at 11:14 +0700, Jati Kalingga Praja wrote: > I did... > > But it didn't workI put it under home>/enterprise3/apache-tomcat/webapps/ROOT/ > > Any suggestion? --

addendum: Re: Unexpected subelement when calling adb stub method

2007-04-11 Thread Anton Pirker
Hi again! In my first mail i forget the Binding of the WSDL. Maybe this is also important: -- snip - transport="http://schemas.xmlsoap.org/soap/http"/> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

Unexpected subelement when calling adb stub method

2007-04-11 Thread Anton Pirker
Hi all! I am new to Axis2 and trying to implement an SSO service. I have an WSDL from which i generated my java stub. When i call the generated ssoLogin-Method i allways get an "Unexpected subelement". This is what the WSDL looks like: (only the important parts) -- snip -