And this is the result. Notice that authentication stuff doesn't get
sent. I'm not sure what kind of format they should be as, but it's
just not there.
SOAP::FaultError: bad credentials
from #<SOAP::Mapping::Object:0x3a343fc>
Help please?
Artem
unread,
Apr 20, 2008, 10:36:38 AM4/20/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to soap4r
Hi Oleg,
If I remember there was a discussion in this group abous this matter
(try to google int this group about 'property' to find it).
The general idea that you have to specify basic_auth credentials
before SOAP::WSDLDriverFactory object creation.
This could be done by specifying credentials in soap/property file.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to soap4r
Yes, I needed to append my message. I tried the soap/property file
route as well. It does apply user/pass from what s.options.to_yaml
tells me. However it still doesn't send them over.
Had to pass the ciphers option as well because WSDLDriverFactory.new
would crap out on https:// url. Hopefully that doesn't affect
basic_auth.
On Apr 20, 10:36 am, Artem <Artem.Tambovs...@gmail.com> wrote:
> Hi Oleg,
>
> If I remember there was a discussion in this group abous this matter
> (try to google int this group about 'property' to find it).
> The general idea that you have to specify basic_auth credentials
> before SOAP::WSDLDriverFactory object creation.
> This could be done by specifying credentials in soap/property file.
>
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to soap4r
I was having similar problems recently and got it resolved. I ended
up using the wsdl2ruby to create a driver. Then in the client file
adding the ssl and basic auth support.
I'm aware of the security loss in this case by turning off the ssl
verification, but it got it working for now. If you do want the ssl
to be on though, you have to do the verification. I saw some samples
for this on the soap4r site, but never worked on it myself.
I'm not sure what you are trying to connect to, but I ran into an
instance where it wouldn't connect to a php4 service, just php5. I
never investigated why that was.
<oleg.khaba...@gmail.com> wrote:
> Yes, I needed to append my message. I tried the soap/property file
> route as well. It does apply user/pass from what s.options.to_yaml
> tells me. However it still doesn't send them over.
>
> This is what i have in my soap/property:
>
> client.protocol.http.ssl_config.ciphers = DEFAULT
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to soap4r
Thanks rekabutt,
I tried doing the "generate stuff with wsdl2ruby" route as you
suggested. Unfortunately result is exactly the same. Basic auth stuff
doesn't get sent at all.