I should have realized after reading that article and learning that the GET was to retrieve the wsdl that the '?wsdl' query string was required. That almost works, except that the endpoint URL in that wsdl specifies 'http://sdlc109:.....' instead of a complete 'http://sdlc109.atl.ec...:....'.
Specifying the ENDPOINT_ADDRESS on the BindingProvider provides the magic that I needed though. Thanks, Dave D dkulp wrote: > > 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. > > > >> 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 > > > -- View this message in context: http://www.nabble.com/How-to-specify-content-type--tp25791924p25821977.html Sent from the cxf-user mailing list archive at Nabble.com.
