Try running this bit inside JBoss if that's not what you were doing already - might help isolate an xml library version problem.
SchemaFactory factory =...
Type: Posts; User: BradHarvey; Keyword(s):
Try running this bit inside JBoss if that's not what you were doing already - might help isolate an xml library version problem.
SchemaFactory factory =...
What happens if you attempt to get common.xsd via the browser (same url, just replace the wsdl filename with common.xsd)? SOAP UI will try and retrieve that as well.
Hi Arjen,
I think Ralph is just suggesting to change the method like this:
public final boolean hasFault() throws IOException {
return getResponseCode() / 100 == 5;
}
I don't...
If you don't mind the potential speed hit, you should be able to use jaxp.
Document document = rpcCall();
Transformer transformer = TransformerFactory.newInstance().newTransformer();...
One scenario where the first approach makes sense is for "change only" updates. If you're using the second approach you can't distinguish between leaving a value unchanged and explicitly setting it...
Well, hopefully nothing needs to be rewritten. I think the problem is actually from your server, not the client - it is the server that is creating the dodgy response.
Depending on your target...
I ran into this problem with SAAJ (axis) and xalan. Switching to saxon (need saxon and saxon-dom jars) fixed it.
Regards,
Brad.
Great. I've had a quick look and it looks good, but I haven't had a chance to update and use it yet.
All sounds good, thanks for the feedback. Client interceptors would be nifty, especially if they could receive context from the caller (eg, a user/pass so the interceptor can add a security header)....
Sure thing - http://opensource.atlassian.com/projects/spring/browse/SWS-86.
I like the client side support - my spring-ws client code is less creepy than the saaj client code it replaced.
...
Hi,
I'm converting an existing SAAJ client into a Spring-WS client. I got the following error when the template tries to check for the fault:
...
When upgrading I also had to change org.springframework.ws.transport.http.MessageEndpointHandlerAdapter to org.springframework.ws.transport.http.WebServiceMessageReceiverHandlerAdapter.
Cheers,...
Sure can - http://opensource.atlassian.com/projects/spring/browse/SWS-79
My xsd is a classpath resource - I load the xsd from classpath and do an identity transform with xsltview to get it in the...
Hi Arjen,
I saw your blog post with the xslt a while ago and really like the idea. I use it with an xsltview to dynamically create the wsdl. I made some modifications:
* My schema is included...
You can also try axis-1.3's SAAJ implementation which I'm using with jdk1.4/JBoss 4.0.2. The message factory is org.apache.axis.soap.MessageFactoryImpl.
Hi Ganesh,
Are you trying to use JMS from within the appserver or external to the appserver? I notice you have specified some JNDI properties on your jndiTemplate and referenced this in the...