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:
https://issues.apache.org/jira/browse/CXF-1662
fixed.
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 this, I
was able to run above command successfully.
So do you think I might have missed something with that step?
Thanks,
-Z
On Thu, Jul 10, 2008 at 2:09 PM, Zemian Deng
<[EMAIL PROTECTED]> wrote:
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 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. 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 a string, but no from my service method
returned.
Any reason for this?
Here is a sample of response received:
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance"><soapenv:Body><authenticateResponse
xmlns="http://client.ws.smartturn.cnx/"><ns1:response
xmlns:ns1="http://www.smartturn.com/services/OccamService/authenticate
">authentication
-
success</ns1:response></authenticateResponse></soapenv:Body></
soapenv:Envelope>
I don't get "authentication - success", but a null instead. Can
someone help me?
Thanks,
--
Sweet - a Scala web framework:
http://code.google.com/p/sweetscala
---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog
--
Sweet - a Scala web framework:
http://code.google.com/p/sweetscala
--
Sweet - a Scala web framework:
http://code.google.com/p/sweetscala
---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog