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
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.
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:
>
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
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
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
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
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
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
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
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
ml/ns/jaxb";
> version="2.0">
>
>childElementName="tns:masterAccountID"
>name="masterAccountID1" />
>
> http://marketing.ews.yahooapis.com/V4']" >
>
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
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
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
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
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:
>>
>>
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
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
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 ...
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
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
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
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
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
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
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
27 matches
Mail list logo