"SAAJ0537: Invalid Content-Type" Exception

2005-07-12 Thread Kumar
Hi All,I am using SAAJ and JAXM API implementations. When I send request soap message to the service I am getting back response soap message from the service but the client is abnormally terminating with exception  "SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP message

RE: jaxrpc.jar/saaj.jar version conflict problems

2005-07-12 Thread Merten Schumann
Ryan, in WebSphere you could influence the classloading by setting the classloader mode to "PARENT_FIRST" or "PARENT_LAST". I used it to get my webapp load it's needed Rhino package from WEB-INF/lib instead of /lib .. Don't know (but would be interested in) if there's something like this in Tomca

RE: [axis 2]Questions on the development process using Axis 2.0

2005-07-12 Thread Chathura Herath
Don, If you are asking how to get the client codegened using the service.xml and service impl classes; the answer is there is no way to do it directly. One of the options is to hand write the client side SOAPEnvelop creation part and use the call api to send the message. The other option I would s

passing basic data.

2005-07-12 Thread vicky axis
I have a set of existing web-services which take in strings as arguments and return strings back to the client... In AXIS 2, i have come across examples codes which accept and return OMElement only... Is there some way out through which i can pass and get back strings from a client perspective inst

Re: [axis 2]Questions on the development process using Axis 2.0

2005-07-12 Thread Deepal Jayasinghe
hi Don; you can write a client to consume a web service where web service only contains service.xml (no wsdl file is present) , in that case you have to create the SOAPMessge by hand , use one of the MEPClient to send the request . And all these has to handle in the your client code since you

Re: XML schema import declaration within a Axis2 web service WSDL

2005-07-12 Thread Deepal Jayasinghe
Hi all;   The current implementation does not extract the archive file , but Chathura if you know the name of xsds I think you can get those via classLoader.     Deepal   - Original Message - From: Chathura Herath To: axis-user@ws.apache.org Cc: [EMAIL PROTECTED] S

Re: Axis + Applet = Lost of errors .. latest (No transport mapping for protocol)

2005-07-12 Thread Davanum Srinivas
Check your generated stubs and see what url setTargetEndpointAddress is being called with. -- dims On 7/12/05, Luis Rivera <[EMAIL PROTECTED]> wrote: > Henry, > > Well, so far outside of an applet it has worked fine. I had my problems > initially, but it had to do with libraries and deployment,

Axis + Applet = Lost of errors .. latest (No transport mapping for protocol)

2005-07-12 Thread Luis Rivera
Henry, Well, so far outside of an applet it has worked fine. I had my problems initially, but it had to do with libraries and deployment, as soon as that was resolved my axis client is able to contact the service. The problems come as soon as I use an applet, even with the policy I keep having

RE: Adding Handlers to Axis 1.2.1

2005-07-12 Thread Jonathan Bruce
This is probably the issue: I'm implementing the org.apache.axis.handlers.BasicHandler interface... Let me re-code with your suggestion, and I'll get back to you. -Jonathan -Original Message- From: Simon Fell [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 12, 2005 18:17 To: axis-user

simple axis server aborts when it gets a request chunked encoding

2005-07-12 Thread Kanwar, Gauri \(GE Healthcare\)
Hi All,   I have a  Java client sending the request to a C++  server. But the simple axis server aborts when it receives the request - is there any work around for this ? It might have to do something about the "Encoding-type: chunked" for the request.     Thanks, Gauri    

RE: Adding Handlers to Axis 1.2.1

2005-07-12 Thread Simon Fell
Does your handler class implement the javax.xml.rpc.handler.Handler interface ? Cheers Simon -Original Message- From: Jonathan Bruce [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 12, 2005 3:14 PM To: axis-user@ws.apache.org Subject: RE: Adding Handlers to Axis 1.2.1 Hey Simon, Someth

RE: Adding Handlers to Axis 1.2.1

2005-07-12 Thread Jonathan Bruce
Hey Simon, Something is not quite right unfortunately. I looks like my Handler is not registering correctly and as a result I get the following stack trace. Unexpected error: ; nested exception is: javax.xml.rpc.JAXRPCException: Unable to create handler of type class com.jmb.axis.handl

RE: axis array mapping helper class name error

2005-07-12 Thread Xingshan He
I have figured out what went wrong.   On the client side code where I registered the operation’s return type, I mistakenly specified that the return type is of my custom object type, rather than an array of that type.   XS   From: Xingshan He [mailto:[EMAIL PROTECTED] Sent:

axis array mapping helper class name error

2005-07-12 Thread Xingshan He
I am trying to return an array of my custom objects in one of my operations.  I was able to return a single object of my custom types successfully.     Here is my deployment descriptor for the array:     languageSpecificType="java:com.interop.object.RadioDisplay[]"   

RE: Compatibility problems

2005-07-12 Thread Luis Rivera
This is not a compatibility problem, I have the same environment and had the same problem. You have to force your client to use http 1.1. I just added the commons-httpclients library and the following client-conf file: xmlns="http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.

Compatibility problems

2005-07-12 Thread Kanwar, Gauri \(GE Healthcare\)
Hi All, I am new to web services and Apache Axis and am having problems developing a simple web service with the following scenario: - My server side code is in C++ - My Client side code is in Java - I use the simple axis server to deploy my web service. Here is what I am running into: The java

Re: jaxrpc.jar/saaj.jar version conflict problems

2005-07-12 Thread Davanum Srinivas
nope. you can ask on juddi-dev@ if they have tried this and for workarounds. -- dims On 7/12/05, Ryan LeCompte <[EMAIL PROTECTED]> wrote: > Interesting I thought that jaxrpc.jar and saaj.jar were non-Axis > specific files. Do you have any advice for how I can force the webapp to > look at ja

RE: jaxrpc.jar/saaj.jar version conflict problems

2005-07-12 Thread Ryan LeCompte
Interesting I thought that jaxrpc.jar and saaj.jar were non-Axis specific files. Do you have any advice for how I can force the webapp to look at jaxrpc.jar and saaj.jar from the WEB-INF/lib directory and not from the main classpath of embedded Tomcat? Thanks, Ryan -Original Message-

Re: jaxrpc.jar/saaj.jar version conflict problems

2005-07-12 Thread Davanum Srinivas
Axis has its own code that ends up becoming saaj.jar and jaxrpc.jar (reflecting SAAJ 1.2 spec and JAX-RPC 1.1 spec) thanks, dims On 7/12/05, Ryan LeCompte <[EMAIL PROTECTED]> wrote: > > > > Hello all, > > > > I'm faced with the following problem. My project currently uses JAR files > f

RE: Adding Handlers to Axis 1.2.1

2005-07-12 Thread Simon Fell
I use this.getSoapWSDDServiceName() for the service name. -Original Message- From: Jonathan Bruce [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 12, 2005 11:01 AM To: axis-user@ws.apache.org Subject: RE: Adding Handlers to Axis 1.2.1 Hey Simon, Sounds good, I definitly prefer leaving

RE: Adding Handlers to Axis 1.2.1

2005-07-12 Thread Jonathan Bruce
Hey Simon, Sounds good, I definitly prefer leaving the stubs alone and modifying the Handler chain at the service level. One question however. What should the 'serviceName' variable be equal to in the Qname instantiation? -Jonathan -Original Message- From: Simon Fell [mailto:[EMAIL

jaxrpc.jar/saaj.jar version conflict problems

2005-07-12 Thread Ryan LeCompte
Hello all,   I’m faced with the following problem. My project currently uses JAR files from JWSDP 1.5 for our web services. I am trying to install jUDDI, which relies on Apache Axis 1.2. The saaj.jar and jaxrpc.jar files are bundled with the binary form of jUDDI, and reside in the webapps

Re: Problem deploying webservice- can't find Deserializer

2005-07-12 Thread Barry Fitzgerald
Thanks for the quick reply I'm using jboss 4.02 I was given the wsdl which was manually created and used wsdl2java from axis to generate the web service classes. So I presume .ws is the answer. Is this what you needed to know? Barry On 7/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >

RE: Adding Handlers to Axis 1.2.1

2005-07-12 Thread Simon Fell
Hi Jonathan, I haven't tried this with 1.2.1 yet, but I have a client side handler that does something similar in Axis 1.1, this works fine for me. SOAPMessageContext sc = (SOAPMessageContext)ctx; SOAPEnvelope env = sc.getMessage().getSOAPPart().getEnvelope(); checkResponse(env.toString()); Alt

RE: Problem deploying webservice- can't find Deserializer

2005-07-12 Thread
Hi, I have some questions: What version of jboss are you using? How are you creating the web services .NET or .WS --- On Tue 07/12, Barry Fitzgerald < [EMAIL PROTECTED] > wrote: From: Barry Fitzgerald [mailto: [EMAIL PROTECTED] To: axis-user@ws.apache.org Date: Tue, 12 Jul 2005 16:11:54 +0100 S

RE: persisting session state between different web services

2005-07-12 Thread Tim Dionne
Yes I will.  And yes, that is how .NET works.  If I have time I'll look into creating a shared cookie container for all services in axis.  Perhaps an enhancement request should be submitted? From: Flores, Raul [mailto:[EMAIL PROTECTED] Sent: Monday, July 11, 2005 7:34 AMTo: axis-user@ws.a

Re: [axis 2]Questions on the development process using Axis 2.0

2005-07-12 Thread Dong Liu
Hi, Chathura, Thank you for your reply to my questions. Now I understand the purposes of the different parts in the user guide of axis 2. I like the approach that using the java classes and the service.xml to deploy web services. But I am still thinking how to develop clients to consume such serv

RE: stupid axis linux install question

2005-07-12 Thread Miller, Janet
Title: Message I have the jdk/lib directory in my AXISCLASSPATH as well.  Try that.   Jan -Original Message-From: Moshe Bar-Nachoom [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 12, 2005 12:18 PMTo: axis user listSubject: stupid axis linux install questionhi there...been

RE: stupid axis linux install question

2005-07-12 Thread Patrick Quinn
Title: Message check that permissions are ok on servlet-api.jar -Original Message-From: Moshe Bar-Nachoom [mailto:[EMAIL PROTECTED] Sent: 12 July 2005 17:18To: axis user listSubject: stupid axis linux install questionhi there...been out of email for several days now (

stupid axis linux install question

2005-07-12 Thread Moshe Bar-Nachoom
hi there... been out of email for several days now (sorry). i got an installation question. i tried changing my linux environment from installing java, tomcat and axis under user "root" to doing so under a regular user. tomcat works. eclipse works. but when i copy the axis libraries under the t

Re: WSS-Handler

2005-07-12 Thread Davanum Srinivas
you can *easily* strip down for example - org\apache\ws\security\handler\WSS4JHandler.java -- dims On 7/12/05, Dorner, Thomas <[EMAIL PROTECTED]> wrote: > Hi, > > I am sorry, but I don t know what you talking about! > > If you mean the WSDOAllHandlers, I hope to see a little smaller handler > e

AW: WSS-Handler

2005-07-12 Thread Dorner, Thomas
Hi, I am sorry, but I don t know what you talking about! If you mean the WSDOAllHandlers, I hope to see a little smaller handler example for a special usecase. But if you mean some other handlers, pls point me to the location! The textcases in wss4j are also not very usefull because they are no

Re: WSS-Handler

2005-07-12 Thread Davanum Srinivas
Tomi, hehehethe code is in wss4j. just take the code in the handler in wss4j and adapt it to whatever you want to do. the handler in wss4j is a "self developed handler" developed by us :) -- dims On 7/12/05, Dorner, Thomas <[EMAIL PROTECTED]> wrote: > > > Hi, > > I am interessted to see

Bug in AdminClient?

2005-07-12 Thread Patrick Quinn
Hi Well, I think I'm starting to see what might be behind my Axis problems, although they are not yet solved. Though I have not seen it documented anywhere, I can see now that the Axis AdminClient takes a WSDD file and adds it to server-config.wsdd, more or less. I write 'more or less' since I n

Problem deploying webservice- can't find Deserializer

2005-07-12 Thread Barry Fitzgerald
Hi all, I've been using axis 1.2 with JBoss for a while now but have seemed to come up against a brick wall. After using wsdl2java on a custom built wsdl I have tried to deploy the webservice using the AdminClient. The AdminClient fails with an java.lang.reflect.InvocationTargetException By just

WSS-Handler

2005-07-12 Thread Dorner, Thomas
Title: WSS-Handler Hi, I am interessted to see a wss4j based handler which for example encrypt something in the SAOP-Message. I would be very glad if someone can give me a self developed handler which add a ws-security header to a SOAP-Message producd with axis. I don´t wanna use this handl

Adding Handlers to Axis 1.2.1

2005-07-12 Thread Jonathan Bruce
Hi, I've recently built a set of client stubs from a Salesforce.com WSDL tailored for my company. I however need to gain access to the RAW XML returned by interactions with the SFDC API, figured adding a Handler was the best way to go. I added the 'setClientHandlers' call to a specific generated

AXIS and SOAP version 1.2

2005-07-12 Thread Thony.Lundin
Hi,   why does the wsdl2java generate SOAP 1.1 version of my code and how can I make it generate SOAP 1.2 version?   As can be seen everywhere in the stubs of the client and server it has generated them with the follwing code:   _call.setSOAPVersion(org.apache.axis.soap.SOAP

Common exception handler in Axis web services...

2005-07-12 Thread Sumedh
Hi,Following article describes a way of creating a common excpetion handler in web services for weblogic.http://e-docs.bea.com/workshop/docs81/doc/en/core/index.htmlIs there any way I can do this in a JBoss implementation that uses Axis?I will be very grateful if somebody can put some light.

passing and retrieving parameters

2005-07-12 Thread vicky axis
i have a web-service that accepts a string as argument and returns a reverse. How do i modify it to deploy it using axis2? Sell on Yahoo! Auctions - No fees. Bid on great items.

RE: [axis 2]Questions on the development process using Axis 2.0

2005-07-12 Thread Chathura Herath
Hi Don, If the documentation is blurred we need to fix it, but see my comments below for each of your queries. > -Original Message- > From: Dong Liu [mailto:[EMAIL PROTECTED] > Sent: Monday, July 11, 2005 10:17 PM > To: axis-user@ws.apache.org; axis-dev@ws.apache.org > Subject: [axis 2]Q

RE: [axis 2]Questions on the development process using Axis 2.0

2005-07-12 Thread Chathura Herath
Hi Don, If the documentation is blurred we need to fix it, but see my comments below for each of your queries. > -Original Message- > From: Dong Liu [mailto:[EMAIL PROTECTED] > Sent: Monday, July 11, 2005 10:17 PM > To: axis-user@ws.apache.org; axis-dev@ws.apache.org > Subject: [axis 2]Q

Re: How to configure and deploy JAX-RPC handler in Axis?

2005-07-12 Thread Venkat Reddy
You need to specify the handler in deploy.wsdd, something like the following You can refer to the samples/jaxrpc --venkat On 7/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thank your reply.I

Re: Problem with soap:header and empty soap:body

2005-07-12 Thread Kristian Andersen
Hi, I sent this before the weekend and since no one answered it, I will try to rephrase my question: Has anyone created a doc/literal webservice with 1 messagepart in the request soap:header and 0 messageparts in the request soap:body? I would be very thankful for an example WSDL. Regards, Krist

Blockers for Axis 1.3

2005-07-12 Thread Davanum Srinivas
Folks, I see only 2 blockers...Are there other bugs we need to fix before we cut 1.3? * AXIS-2107 Amazon WSDL Misses Class Declarations * AXIS-2103 WSDL2Java: Generated doc/lit proxy sends "xsi:type" attributes thanks, dims -- Davanum Srinivas -http://blogs.cocoondev.org/dims/

Re: BizTalk mulitpart Error when communicating with an Axis service

2005-07-12 Thread Davanum Srinivas
no clue. sorry. -- dims On 7/12/05, Patrick Quinn <[EMAIL PROTECTED]> wrote: > Thanks Davanum, that indeed suppresses the warning. > Any idea whether this would have any bearing on the error being seen by > the BizTalk client? > Rgds > Pat > > > -Original Message- > From: Davanum Sriniv

RE: Migrating TypeMapping code from 1.2RC3 to 1.2.1

2005-07-12 Thread Dickinson, Ian John \(HP Labs, Bristol, UK\)
To follow-up my own question, I think I understand TypeMappingDelegate a bit better now, but I don't see why the only constructor for TypeMappingDelegate is package private. It seems as though this is the class that developers should use to extend the built-in type mappings, but we can't actually

RE: BizTalk mulitpart Error when communicating with an Axis service

2005-07-12 Thread Patrick Quinn
Thanks Davanum, that indeed suppresses the warning. Any idea whether this would have any bearing on the error being seen by the BizTalk client? Rgds Pat -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: 12 July 2005 10:51 To: axis-user@ws.apache.org Subject: Re: B

Re: BizTalk mulitpart Error when communicating with an Axis service

2005-07-12 Thread Davanum Srinivas
you need mailapi jar as well. both need to be present for this to work. On 7/12/05, Patrick Quinn <[EMAIL PROTECTED]> wrote: > > Just to clarify (and with a particular apology to Anne!), I have posted this > question before - but the customer I deal with gave misleading information > about where

RE: BizTalk mulitpart Error when communicating with an Axis service

2005-07-12 Thread Patrick Quinn
Title: Message Just to clarify (and with a particular apology to Anne!), I have posted this question before - but the customer I deal with gave misleading information about where the error was seen.   The WSDL and WSDD are included below for anyone who might be able to spare the time to loo

BizTalk mulitpart Error when communicating with an Axis service

2005-07-12 Thread Patrick Quinn
Title: Message Hi   The following error is seen from a BizTalk client when it accesses my Axis service.  " Provident Connector Send: Exception invoking WS... The XLANG/s message has no part at index '0'.  The total number of parts found in the message is '0'. If you expect a multipart mess

Problem with decoding special characters in AXIS server

2005-07-12 Thread Thony.Lundin
Hi,   I have a problem regarding decoding special characters but it only appears in the server. I have a complex type and some of the elements are strings that can contain special characters. So if I set one of these strings on the complex type in the client like follows:       TRInfo up