On Thu October 8 2009 11:46:06 am dave derry wrote:
> Well I found the problem; thanks to this post
> http://forums.java.net/jive/message.jspa?messageID=347997, which explained
> that if specifying a remote host for the wsdl a GET is sent to retrieve the
> wsdl. 

You should be able to append ?wsdl to get the wsdl if it's a normal cxf 
service.

Dan


> Since the host doesn't accept GETs it is necessary for me to specify
>  a local wsdl file. I was passing a remote host in as an argument because
>  the local file had an incvalid URL (even though my other post indicated
>  the valid URL). I modified the local wsdl, and it now seems to be working.
>  I say "seems" because I am getting a response, but I haven't yet inspected
>  it.
> 
> But that leaves me with a question regarding how would I specify a
>  different host and/or port than what is specified in the local wsdl?

Similar to:
((BindingProvider)port).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS,
 
"http://......";)



Dan

> 
> 
> Thanks,
> Dave
> 
> dkulp wrote:
> > Any chance you could wireshark this to see what really is being sent on
> > the
> > wire.   There really isn't any way that CXF should be sending that
> > content-
> > type for a soap message.
> >
> > Note: also update to 2.2.3 if possible. (and 2.2.4 will be out early next
> > week)
> >
> > Dan
> 

-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to