Re: InOnly client code?

2010-06-03 Thread Deepal jayasinghe
Hi William, When you invoke the service using fireAndForget you need to put put a sleep statement after invocation, if you do not do that the main thread terminate before sending the message. > Has anyone had success writing an In-Only client that they'd be willing to > share? I've deployed a s

RE: Error: org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxUnexpectedCharException

2010-06-03 Thread Martin Gainty
wstx expects the character to be a valid IsoControl character protected void readXmlDecl(boolean isMainDoc, int xmlVersion) throws IOException, WstxException { int c = getNextAfterWs(false); // First, version pseudo-attribute: if (c != 'v') { // versio

Re: ws-security at operation level

2010-06-03 Thread Charles Galpin
I have a couple of follow up questions if you wouldn't mind. 1. I was using a plain text UsernameToken policy over plain http initially. I changed it to digest mode but it is still being passed in plain text. Full policy file is below. Any idea why this isn't working? 2. Without ws-security it'

Error: org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxUnexpectedCharException

2010-06-03 Thread sanjaypatni
Hi, I'm getting following error in Netweaver CE 7.1...Same application works fine in Weblogic and JBoss. Any pointers to troubleshoot would be of great help. [echo] Loading system data, userName = vendavosystem [loaddb] org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxUnexpectedCharException:

Re: Control WSDL2Java output location

2010-06-03 Thread Jorge Medina
Why is that an issue? Just tell Ant or your IDE to also use the sources from /src Or move src one directory up using Ant. If you are using Ant to compile your code: ... wrote: > I am using Axis2 1.5.1. When generating the output Java code in Ant, > I specify the output directory. > Ho

Control WSDL2Java output location

2010-06-03 Thread Nan Null
I am using Axis2 1.5.1. When generating the output Java code in Ant, I specify the output directory. However, the tool always output under: /src/package I want it under: /package Basically, Axis always insert "src" into my project. For a learning project, that's not an issue. However, this

Re: ws-security at operation level

2010-06-03 Thread Charles Galpin
Wow, thanks for that - solved all my problems! I just wish I'd asked a few hours ago :) Thanks! charles On Jun 3, 2010, at 2:57 PM, Prabath Siriwardena wrote: > Please move to the ws-security policy based approach and define your policy > at the operation level. > > This [1] by Nandana will b

Re: ws-security at operation level

2010-06-03 Thread Prabath Siriwardena
Please move to the ws-security policy based approach and define your policy at the operation level. This [1] by Nandana will be helpful Thanks & regards. -Prabath http://RampartFAQ.com [1]: http://wso2.org/library/3786 Charles Galpin wrote: I'm running axis2-1.5/rampart1.5 with a POJO ba

ws-security at operation level

2010-06-03 Thread Charles Galpin
I'm running axis2-1.5/rampart1.5 with a POJO based service and can't get ws-security enabled for specific operations (not the whole service). If I enable rampart for the service, using the same InflowSecurity parameter it works fine, but if I move it into an operation block I get [java] or

InOnly client code?

2010-06-03 Thread William Walsh
Has anyone had success writing an In-Only client that they'd be willing to share? I've deployed a simple In-Only service on WebSphere that works fine via soapui, but when I try to invoke it via a Java client it doesn't run, completely. That is, I can see the log4j trace with additional activit