Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Service Authentication #2

Open
jamiejackson opened this issue Jan 14, 2015 · 5 comments
Open

Web Service Authentication #2

jamiejackson opened this issue Jan 14, 2015 · 5 comments

Comments

@jamiejackson
Copy link

The web service I'm consuming is protected by basic authentication. Does cfjarsoap handle this? I'm not spotting it, nor can I tell how to get at the HTTPClient.

@jamiejackson
Copy link
Author

Also, I'm trying to poke around, but I'm having trouble with getClient(), due to some variables that seem to be undefined: springContextLocation & java.JaxWsDynamicClientFactory.

@denuno
Copy link
Member

denuno commented Jan 15, 2015

That getClient()/JaxWsDynamicClientFactory was from the CFX client, I don't see it in Axis2 anymore (after the latest commit, which I just pushed up without figuring out that initial problem you had, so don't expect that bit to work yet :-/), it was probably just a cut/paste leftover.

Take a look at the examples for axix2 in the tests, and see if any of that looks similar to what you're after.

Maybe something like this:
https://github.com/cfmlprojects/cfjarsoap/blob/master/tests/cfjarsoap/TestAxis2.cfc#L108

Do you have an example WS I can test against that has basic auth? I'll check it out and manually upload a relase with all the jars (my script was too old, and used github's "downloads", which are now "releases", and I got a bit more work to do on that before it's uploading again).

@denuno
Copy link
Member

denuno commented Jan 15, 2015

If it's a non-public webservice feel free to emal me privately, and I'll just use it for testing, vs. committing the info in the test.

@jamiejackson
Copy link
Author

Thanks for the offer. I just emailed you credentials and a test case.

Please let me know if the email doesn't find you. (I sent to your Railo address.)

@denuno
Copy link
Member

denuno commented Jan 21, 2015

I got it, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants