inbound message not being read

2009-05-21 Thread nmt999
After making the API call the client is returning the response, can see the inbound message. however the response for some reason is not being read... below is the thread dump "P1T0" prio=1 tid=0x2c949a10 nid=0x4b48 runnable [0x41261000..0x41262b40] at java.net.Soc

exception when running appl in eclipse ide

2009-05-14 Thread nmt999
When I try to run my application that uses CXF in eclipse IDE it throws the following exception Exception in thread "main" java.lang.AbstractMethodError: org.apache.xerces.dom.DeferredElementNSImpl.getTextContent()Ljava/lang/String; at org.apache.cxf.bus.extension.ExtensionFragmentParser.

Re: wsdl2java error when change version from 2.1.3 to 2.2

2009-03-26 Thread nmt999
It's basically a JAXB issue. > JAXB needs each schema to get generated into it's own package so that it > can > have a package-info.java and ObjectFactory.java per schema. > > Dan > > > > On Thu March 26 2009 2:04:06 pm nmt999 wrote: >

wsdl2java error when change version from 2.1.3 to 2.2

2009-03-26 Thread nmt999
Hi The command wsdl2java -p com.test.appl.service -d build -exsh true -verbose -b ServiceBinding.xml TheService.wsdl works with wsdl2java - Apache CXF 2.1.3 but gives the error below when used with [java] wsdl2java - Apache CXF 2.2 [java] WSDLToJava Error: -p option cannot be used whe

Re: service creation & busfactory going to impact performance?

2008-12-11 Thread nmt999
support). > Set > the URL as needed via > ((BindingProvider)ret).getRequestContext().put( > BindingProvider.ENDPOINT_ADDRESS_PROPERTY, > aServiceURL); > > > Dan > > > > > On Monday 08 December 2008 3:54:04 pm nmt999 wrote: >> Below is the code i use for creating service. Woul

service creation & busfactory going to impact performance?

2008-12-08 Thread nmt999
Below is the code i use for creating service. Would it impact the memory or performance if I use or do not use the setBus line that is commented. This cxf client seems to take more time to run than the existing axis client and also seems to use high cpu. not sure if i'm doing anything wrong. Also

Re: overriding cxf props set in config file

2008-11-17 Thread nmt999
pache.cxf"); > for (Handler handler : log.getHandlers()) { > if (handler instanceof ConsoleHandler) { >handler.setLevel(Level.WARNING); >handler.setFormatter(new SimpleFormatter()); > } > } > > should be it. > > Dan > > > On Monday 17

overriding cxf props set in config file

2008-11-17 Thread nmt999
I currently use a properties file to control cxf logging when the application runs. java.util.logging.ConsoleHandler.level = INFO java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter However within the developed application if i want to override the settings of the con

configuring number of connections and connection pool timeout

2008-11-11 Thread nmt999
Hi In axis client to a webservice, we can configure the number of connections and the connection pool timeout as below System.setProperty("axis.http.client.maximum.total.connections", "20"); System.setProperty("axis.http.client.connection.pool.timeout", "0"); Is there a way the

Re: client receive timeout gives org.apache.cxf.interceptor.Fault: Read timed out error

2008-07-31 Thread nmt999
Just trying to understand... so using CXF it is not possible to set the receive timeout? Glen Mazza wrote: > > > nmt999 wrote: >> >> I'm trying to set the setReceiveTimeout for my client. below is the code. >> when i call the method using the service creat

client receive timeout gives org.apache.cxf.interceptor.Fault: Read timed out error

2008-07-30 Thread nmt999
I'm trying to set the setReceiveTimeout for my client. below is the code. when i call the method using the service created, I was expecting a message that would convey the msg that request timed out. however i get the error msg org.apache.cxf.interceptor.Fault: Read timed out error private s

Re: help with fixing external binding file

2008-07-16 Thread nmt999
ml/ns/jaxb"; > version="2.0"> > >childElementName="tns:masterAccountID" >name="masterAccountID1" /> > > http://marketing.ews.yahooapis.com/V4']" > >

help with fixing external binding file

2008-07-15 Thread nmt999
wsdl2java when run on the wsdl https://sandbox.marketing.ews.yahooapis.com/services/V4/MasterAccountService?wsdl gives the following error WSDLToJava Error: Thrown by JAXB : Two declarations cause a collision in the ObjectFactory class. There are 2 methods getMasterAccount and getMasterAccountSta

Re: Is this a CXF's wsdl2java bug?

2008-07-15 Thread nmt999
0ad50ee78328d692 > has some possibilities on how to use a jaxb bindings file to resolve > these errors. It may be a bit tricky though. > > > Dan > > > > On Jul 14, 2008, at 10:36 AM, nmt999 wrote: > >> >> i'm not an expert with wsdl's. this

Re: Is this a CXF's wsdl2java bug?

2008-07-14 Thread nmt999
t; The only solution is to create a binding file to map the > masterAccountId to use a different name > > > On 7/14/08, nmt999 <[EMAIL PROTECTED]> wrote: >> >> i'm not an expert with wsdl's. this is something that is defined by >> yahoo. is >> there

Re: Is this a CXF's wsdl2java bug?

2008-07-14 Thread nmt999
in multiple places... > > > On 7/14/08, nmt999 <[EMAIL PROTECTED]> wrote: >> >> I have tried it without the -p com.test.masteraccountservice option, >> however >> it still throw the same exception >> >> >> >> Daniel LaPrade

Re: Is this a CXF's wsdl2java bug?

2008-07-14 Thread nmt999
I have tried it without the -p com.test.masteraccountservice option, however it still throw the same exception Daniel LaPrade wrote: > > Try removing the package name: -p com.test.masteraccountservice > > > On 7/14/08, nmt999 <[EMAIL PROTECTED]> wrote: >> >>

Is this a CXF's wsdl2java bug?

2008-07-14 Thread nmt999
When trying to run wsdl2java on the wsdl file https://sandbox.marketing.ews.yahooapis.com/services/V4/MasterAccountService?wsdl using the command wsdl2java -p com.test.masteraccountservice -exsh true -verbose MasterAccountService.wsdl I'm getting the error message shown below. Is this a bug with t

how to retrieve and save header information in SoapMessage using interceptors

2008-07-11 Thread nmt999
Is there a way to intercept an inbound SoapMessage and retrieve the header information and save it. I couldn't find an example for this. Please provide a sample example or how it can can if it can be done using interceptors. Regards nmt -- View this message in context: http://www.nabble.com/how

wsdl2java error

2008-07-11 Thread nmt999
When trying to run wsdl2java on the wsdl file http://searchmarketing.yahoo.com/developer/docs/V4/wsdl/V4/MasterAccountService.wsdl using the command wsdl2java -p com.test.masteraccountservice -exsh true -verbose MasterAccountService.wsdl I'm getting the following error. Loading FrontEnd jaxws ...

Re: Does wsdl2java command when used with and without -exsh option make a difference for the client when making requests to a webservice

2008-07-07 Thread nmt999
Please ignore my question below about namespace duplication. I resolved it nmt999 wrote: > > I try to add the namespace to match the ones in soap:Body. However it adds > a duplicate namespace in addition to the one i tried to add. Could not > figure how to correctly add the name

Re: Does wsdl2java command when used with and without -exsh option make a difference for the client when making requests to a webservice

2008-07-06 Thread nmt999
ething like: > > Element el = document.createElementNS(_theYahooURL, > "onBehalfOfPassword"); > > Dan > > > > > On Jul 3, 2008, at 1:40 PM, nmt999 wrote: > >> >> Dan >> >> I'm not sure how to do that. Can you show me how t

Re: Does wsdl2java command when used with and without -exsh option make a difference for the client when making requests to a webservice

2008-07-03 Thread nmt999
qualifying those elements.You need to create > the elements using the namespace versions and specify the proper > namespaces and such. > > Dan > > > > On Jul 3, 2008, at 1:28 PM, nmt999 wrote: > >> >> Dan >> >> Security headers a

Re: Does wsdl2java command when used with and without -exsh option make a difference for the client when making requests to a webservice

2008-07-03 Thread nmt999
99 >> >> > > Without the -exsh true, they wouldn't be method parameters so you are > setting them some other way. SAAJ handler? Through the request > context? etc... I would need to see that code. > > Dan > > > > On Ju

Does wsdl2java command when used with and without -exsh option make a difference for the client when making requests to a webservice

2008-07-03 Thread nmt999
In my client developement using cxf to talk to yahoo searchmarketing services (http://searchmarketing.yahoo.com/developer/docs/V4/wsdl/V4/AccountService.wsdl), I have two different implementations. I have them below. Case 1 works but not Case 2. How can I make the Case 2 work. Does wsdl2java comm

Re: org.apache.cxf.binding.soap.SoapFault: "http://schemas.xmlsoap.org/wsdl/", the namespace on the "definitions" element, is not a valid SOAP version.

2008-07-01 Thread nmt999
ally endpoint URL as it's returning the WSDL, not a proper SOAP > response. > > Dan > > > > On Jun 30, 2008, at 4:29 PM, nmt999 wrote: > >> >> Hi >> >> I'm new to using apache cxf. I'm trying to develop a client to yahoo >> s

org.apache.cxf.binding.soap.SoapFault: "http://schemas.xmlsoap.org/wsdl/", the namespace on the "definitions" element, is not a valid SOAP version.

2008-06-30 Thread nmt999
Hi I'm new to using apache cxf. I'm trying to develop a client to yahoo searchmarketing services using cxf. I'm trying to make a simple call to getAccountStatus (http://searchmarketing.yahoo.com/developer/docs/V4/wsdl/V4/AccountService.wsdl). I get the following error message in ReadHeadersInterc