Re: unable to get soap header in Axis2

2006-06-02 Thread Håkon T Sønderland
Gopal Patwa wrote: Axis2 0.95 on Tomcat 5.5, even I tried using wsdl from source /axis2/modules/codegen/test-resources/headers.wsdl and generated server code form WSDL2Java and included headers.wsdl in service archive, it read the wsdl but still has same result no soap header. This is still t

[Axis2] Differences in WSDL files when generating from WSDL

2006-05-29 Thread Håkon T Sønderland
Sorry for all the newbie questions :( Environment: JDK 1.4.2 Orion Server 2.0.7 Axis2 1.0 Windows XP Eclipse 3.1 Generating java code from hand coded WSDL file. The issue is that soap headers disappears from bindings in the file extracted using ?wsdl from the axis2.war. Is this correct beha

Re: [Axis2] 1.0 Axis web pages renders page in text/pain instead of text/html

2006-05-29 Thread Håkon T Sønderland
Vaughan, Steve wrote: This is a documented-issue. OK, thanks. Håkon -- Antares Gruppen AS Dir.phone: +47 - 23 29 05 75 Mobile: +47 - 911 79 505 http://www.antares.no - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[Axis2] 1.0 Axis web pages renders page in text/pain instead of text/html

2006-05-29 Thread Håkon T Sønderland
Environment: JDK 1.4.2 Orion Server 2.0.7 Axis2 1.0 Windows XP Eclipse 3.1 Some of the default axis pages when deploying the axis2.war does not display correctly under Firefox (possibly also for other standard compliant browsers). Assuming the server is http://localhost:8080/ then: http://lo

[Axis2 1.0] File Encoding causes problem

2006-05-29 Thread Håkon T Sønderland
Environment: JDK 1.4.2 Orion Server 2.0.7 Axis2 1.0 Windows XP Eclipse 3.1 Generating java code from hand coded WSDL file. Problem 1: The WSDL file is encoded with Unicode/UTF-8. The WSDL2Java tool will not recognise this as a valid WSDL file. Changing the file encoding to US-ASCII fixes thi

[Axis2 1.0] WSDL2Java, output option (-o) / package option (-p) and naming

2006-05-25 Thread Håkon T Sønderland
Hi, Another newbie question. I try to generate java code using wsdl2java thus: C:\java\axis2\bin>wsdl2java -uri createLeasingApplication.wsdl -p com.antares.web.leasingWebService -ss -sd -s -g -u -d adb -o c:\java\utvikling\leasing\src\java -ns2p urn:leasingapplication=com.antares.web.leasingapp

Re: [Axis2] wsdl2java: How do I find uot whats wrong with the WSDL?

2006-05-25 Thread Håkon T Sønderland
Chathura Herath wrote: There was an error in ur wsdl. The part attribute name in the definition/binding/operation/input/header doesn't match with the part name in the message. login against Login Attached is the corrected wsdl, which works. Thank you very, very much. I know I have stared at th

[Axis2] wsdl2java: How do I find uot whats wrong with the WSDL?

2006-05-24 Thread Håkon T Sønderland
I'm trying to use wsdl2java to create a service, but I'm not having much success. This is the first time I do this so please bear with me. I have defined my wsdl and tried 4 different validation tools (Oxygen, Jdeveloper, WS-I and Clear Cape) just to make sure it is correct (still not sure though

Re: Web service client: need help

2005-12-13 Thread Håkon T Sønderland
Hansen, Geir wrote: Try this one Håkon: Prøv denne Håkon: System.setProperty("axis.socketSecureFactory", "org.apache.axis.components.net.SunFakeTrustSocketFactory"); Add this line before the code that instantiates the service object. WARNING: this code should not be used in a production envi

Re: Web service client: need help

2005-12-12 Thread Håkon T Sønderland
Håkon T Sønderland wrote: Thanks a lot, I need to take a look at the next exception in the log then, because it certainly isn't working ;) I was assuming this was the problem since it is the first exception that is cast. I thought the rest was just follow-ons from this one and thus ignored

Re: Web service client: need help

2005-12-09 Thread Håkon T Sønderland
Ron Reynolds wrote: i see this "error" (notice it's logged at the DEBUG level) even when things are running normally. do you get any exceptions thrown in your client code when you try to use the stub? the reason this is logged is because this code (AxisEngine:308): public SOAPService getSer

Web service client: need help

2005-12-09 Thread Håkon T Sønderland
Hi, I'm trying to develop a web service client to consume an existing web service using Axis 1.3/Java 1.4. I generate the stub code using wsdl2java (classes are "InfoXMLStub" etc). When I try to call the web service using this code: Header header = new Header(user,pass,subuser,custid,versi

Re: Creating a WS client, where to start?

2005-12-08 Thread Håkon T Sønderland
Dies Koper wrote: Hello Håkon, pretty please does help. Did you look at Axis' JUnit tests? test\wsdl\stubheaders Do you mean the JUnit tests that WSDL2Java generates with the -t option? If so, then yes I did look at them, there is no reference to the header there. In my limited view of the w

Re: Creating a WS client, where to start?

2005-12-07 Thread Håkon T Sønderland
Håkon T Sønderland wrote: I am trying to use Axis to create a WS client consuming an existing web service. I've read all the newbie tutorial I could find, but the all seem to be on the "hello world" level and think I understand what they do. But, trying to this with the web se

Creating a WS client, where to start?

2005-12-06 Thread Håkon T Sønderland
<<< Newbie Alert >>> <<< Newbie Alert >>> <<< Newbie Alert >>> Sorry about the total newbie questions. I am trying to use Axis to create a WS client consuming an existing web service. I've read all the newbie tutorial I could find, but the all seem to be on the "hello world" level a