Hello,
My application connects to webMethod to invoke a SOAP web service. I'm using
CXF as client.
I got SOAP faults about NullPointers throwed on the webMethod size. Using
tcpdump I discovered CXF is sending the HTTP Headers to the service :
POST /soap/linkback HTTP/1.1
Content-Type: text/xml; c
Well, CXF is a volunteer effort. You may wish to debug your SOAP
client[1] and zero in on the exact problem, i.e., to the very line of
code within CXF and submit a JIRA report (patch would be nice too) on
the problem. The more precise you can get to the problem, the faster
and easier it would be
Hi Glen:
We're using CXF 2.1, with Metro client there're no such problem. I've
trace into the SOAP message, seem that the reason may be the interceptor
mechanism in CXF, cause I print the SOAP message in the defaut
AttachmentInInterceptor, it's ok, there's still the Content-ID, but
seems after pro
Precisely which version are you using--2.0.what? If it's too old, best to
upgrade first. Also, what happens if you try a Metro client[1]--do you get
the same problem or does the problem go away? That would help narrow down
the problem to SOAP client or web service provider, or developer error o
Thanks Sergey for your reply. My code works in standardalone mode but not
when I try to access from Web. Can you see anything wrong?
@Path("/employeeservice/")
public class EmployeeService {
long currentId = 3;
private Map empMap;
private Map prjMap;
public EmployeeService() {
empMap =
Hi
I've sent a mail about the content id issue a couple of days ago, I
wonder if there is any information for this issue, it really bothers us
so much.
Here is the original mail:
I am working on getting an CXF 2.0 client to work with a Java service
written using
Metro 1.2,
I have been trying to
Make a separate for the SEB, and use the # syntax to drop it into
the endpoint.
On Thu, Jul 10, 2008 at 8:45 PM, hansamann <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I have successfully created a few JAXWS endpoints, e.g.
>
> id="helloWorld"
> implementor="com.yahoo.cl.
Hi all,
I have successfully created a few JAXWS endpoints, e.g.
Now I would like to inject some additional beans into the implementation
classes, for example a hibernate sessionfactory.
I tried using this in my service implementation class:
@Autowired
@Qualifier("data
Do you have an example of service over JMS transport using Spring or Servlet
with CXF2.1?
Thanks!
Hi Dan,
Thanks for your advice.
I was using CXF 2.1.1.
I tried using a simple Set and mapped XML adapters. It worked like a charm.
Thank you,
Arul
Daniel Kulp wrote:
CXF 2.1.x or 2.0.x?
I think a straight "Set" should work, but possibly not the specific
subtypes. Not really sure. I kn
Logged a jira for this issue. https://issues.apache.org/jira/browse/CXF-1698
Thanks!
Arul
Daniel Kulp wrote:
I think this is a bug. Please log a JIRA for it.
Dan
On Jul 10, 2008, at 4:17 PM, Arul Dhesiaseelan wrote:
I was playing around with the logging handler. How do I get the
operat
I think this is a bug. Please log a JIRA for it.
Dan
On Jul 10, 2008, at 4:17 PM, Arul Dhesiaseelan wrote:
I was playing around with the logging handler. How do I get the
operation name from the SOAP message context?
I tried the below and it returned null.
javax.xml.namespace.QName ope
CXF 2.1.x or 2.0.x?
I think a straight "Set" should work, but possibly not the specific
subtypes. Not really sure. I know that JAXB 2.1 enhanced the
support for Sets and maps a bit, but I don't know all the details.
That said, if using CXF 2.1.1, you can get it to work by writing an
I was playing around with the logging handler. How do I get the
operation name from the SOAP message context?
I tried the below and it returned null.
javax.xml.namespace.QName operation = (javax.xml.namespace.QName)
smc.get(MessageContext.WSDL_OPERATION);
I have annotated my web method with o
Just dug through the jaxb spec and I'm not seeing anything obvious.
If the jaxb folks couldn't help, I'm not sure who would be able to
help. :-(
I'm pretty sure the work the SXC folks are doing (sxc.codehaus.org)
runs after the processing of the schema so that doesn't really help.
N
Anthony,
Thanks for joining in. We know exactly what Christine needs to do. She needs
to arrange for the static content and the web service to appear at the same
host:port.
-benson
On Thu, Jul 10, 2008 at 3:22 PM, Anthony Schexnaildre <[EMAIL PROTECTED]>
wrote:
> If you download the jetty pack
Well, I just tried with Axis2 and it all worked! Even with my own
package name! I did:
/opt/axis/bin/wsdl2java.sh -o target -p cnx.smartturn.ws.client -uri
https://stdemo.smartturn.com/occam/services/OccamService?wsdl
And got similar stub.
I guess they don't validate the scheme as strictly. But
Unfortunately, this is completely per spec and there isn't any way to
control this right now. If you are interested in rolling your own
version of cxf, the line that would need to be modified is line 1153
of the ReflectionServiceFactoryBean:
if (mpi.getTypeClass() !=
I gave it a test with my setup and I get the same result. I have no
custom providers in place right now either. No matter what headers I
set on the request or which formats I place in @ProduceMime the
response Content-Type header is always text/xml. However if I return a
Response and set th
If you download the jetty package from their website you will find
that there is an /etc directory. In that directory are numerous
examples of how to configure different aspects of jetty. I would take
a look at jetty.xml and jetty-logging.xml in particular. I think it
may be easier to leave
I haven't really had time to try and create a test case for this.
The few system tests we have in our test suite are working fine so I'm
not really sure where to look. If you could create a test case that
shows the problem, that would be a huge help in trying to diagnose
what is happ
Lovely. If they have a support email address or something, you
should definitely contact them. That soap message definitely does
not match the schema/wsdl they are publishing. Thus, anything that
actually validates the response should barf on it.
Feel free to have them contact me if
2. Edit httpd.conf to contain the following:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
3. Edit proxy.conf to contain the following:
ProxyPass /ws/rta http://localhost:6099/rta
ProxyPass /ws/rta/ http://localhost:6099/rta/
ProxyPassReve
Same result :(
On Thu, Jul 10, 2008 at 2:39 PM, Zemian Deng <[EMAIL PROTECTED]> wrote:
> Hum... that service is a vendor supplied. The sad news is that I can
> use SoapUI tool to get the response and see it clearly without
> problem. The vendor claimed it works fine with Axis. I like Cxf and
> wan
Hum... that service is a vendor supplied. The sad news is that I can
use SoapUI tool to get the response and see it clearly without
problem. The vendor claimed it works fine with Axis. I like Cxf and
want to give it best try before using other one.
I am going to try without -p now and let you guys
I'm not the expert on jetty logging. However, I now realize, after trying
it, that I've been telling you the wrong thing about the browser
cross-scripting rules.
I thought that it was true that, so long as one of the javascript files came
from a particular host:port combination, that you would be
You can try, but if it still returns that same soap message, it's not
going to work. That webservice is not valid. You would have to do
some major editing to the wsdl/schemas to get it to match that message.
Dan
On Jul 10, 2008, at 2:28 PM, Zemian Deng wrote:
Ahh.. that's good to ko
Hi,
I having a problem with content types which may be an issue with the
latest code off the trunk. What I'm seeing is the content-type isn't
being set to the desired value on the response from my service.
The service is annotated at class level:
@ProduceMime({"application/xml", "application/jso
Ahh.. that's good to konw.
So you think the solution is to regenerate the stub without -p option?
I am not sure what else to try to get that namespace matching.
-Z
On Thu, Jul 10, 2008 at 2:23 PM, Daniel Kulp <[EMAIL PROTECTED]> wrote:
>
> On Jul 10, 2008, at 2:21 PM, Zemian Deng wrote:
>
>> By
On Jul 10, 2008, at 2:21 PM, Zemian Deng wrote:
By the way, I generated my client stub using this command:
$ wsdl2java -d target -p cnx.smartturn.ws.client
https://stdemo.smartturn.com/occam/services/OccamService?wsdl
Ick... the -p is also going to cause a problem. Definitely need to
get
By the way, I generated my client stub using this command:
$ wsdl2java -d target -p cnx.smartturn.ws.client
https://stdemo.smartturn.com/occam/services/OccamService?wsdl
Ofcourse I have to add the site's CA into my jdk's cacerts file
because it's from GoDaddyCA and not provided as default. After
The response from that web service in not valid according to the
schema. The schema for the authenticateResponse element (see: https://stdemo.smartturn.com/occam/schema/authenticate.xsd)
has a targetNamespace of: http://www.smartturn.com/services/OccamService/authenticate
However, the mes
Sure Dan. Can you see this demo wsdl here:
https://stdemo.smartturn.com/occam/services/OccamService?wsdl
Thanks,
-Z
On Thu, Jul 10, 2008 at 1:42 PM, Daniel Kulp <[EMAIL PROTECTED]> wrote:
>
> We'd need to see the wsdl and schema to see if that message really matches
> what the wsdl/xsd says it s
We'd need to see the wsdl and schema to see if that message really
matches what the wsdl/xsd says it should look like.
Dan
On Jul 10, 2008, at 1:19 PM, Zemian Deng wrote:
Hello list,
I have generated client sources using wsdl2java for a WS, and I can
send a request to service just fine.
Hello list,
I have generated client sources using wsdl2java for a WS, and I can
send a request to service just fine. But when receiving a response
from a proxy client service method (the return type is String), I
always get null. I turned on the logging, and I can see a respond
payload did return
On Thu, 2008-07-10 at 07:38 -0400, Benson Margulies wrote:
> Christine,
>
> I'm trying to find some time to build up an example. Until then, I
> want to try to clarify something.
>
> The cxfjsutils.js file and the server itself have to be on the same
> host:port. The rest of the html need not.
T
Dan,
Thanks a lot for this suggestion - this cleared up the problem.
The exact syntax that worked was:
-Chris Wolf
-Original Message-
From: Daniel Kulp [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 03, 2008 3:04 PM
To: users@cxf.apache.org
Subject: Re: SOAP Header
On Jul
Just and idea, as I don't konw the internal CXF code...
Maybe the classloader is wrong in the current thread. The recommended way to
get the classloader in a multithreaded environment is to call
*Thread*.currentThread().getContextClassLoader(),
while getClass().getClassLoader() wasn't recommended.
Can you please let us know if you have any updates on the mtom issue
below?
thanks and regards,
bharath
Bharath Thippireddy/BC/DE/Primavera wrote on 07/03/2008 12:41:06 PM:
> Thanks Dan.
>
> MTOM Client Problem
>
> I can see the MTOM attachment coming out when i try reading it in
> the int
Hello, I'm reading Manning's SOA Security book, which despite its 2008
copyright pretty much is three or four years old. At any rate, for web
service security the book is highly recommending usage of JAAS[1]--but I
don't see it much in use today, at least not via mailing list searches.
Does anyo
Hi,
Is there any way to force that minOccurs=1 instead of minOccurs=0 in wsdl?
Unfortunately @WebParam annotation doesn't contain "required" attribute.
I'm using CXF 2.0.4 with
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT,
use = SOAPBinding.Use.LITERAL,
parameterSty
Brad,
Yes, what you're suggesting is possible. However, even with
parent-last (WAR-first) class loading, the error still shows up.
-Bryan Stopp
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brad
Sent: Wednesday, July 09, 2008 6:23 PM
To: users@cxf
Christine,
I'm trying to find some time to build up an example. Until then, I want to
try to clarify something.
The cxfjsutils.js file and the server itself have to be on the same
host:port. The rest of the html need not.
Thus, you can have a web page at http://www.christine.nl/soap/wendy.html
_Eric_ wrote:
>
> I generated my service classes with implementation in contract first
> manner by Maven2. The implementation has an annotation
> @javax.jws.WebService where the property wsdlLocation is set to the
> absolut path of my WSDL. As long as I develop on my machine everything
> went f
Hi list,
I have a bringing my service to an other host.
I generated my service classes with implementation in contract first manner
by Maven2. The implementation has a n annotation @javax.jws.WebService where
the property wsdlLocation is set to the absolut path my WSDL. As long as I
develop on m
45 matches
Mail list logo