mahlatse makalancheche

Greenhorn
+ Follow
since Jan 27, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by mahlatse makalancheche

Thank you guys.

So I put "Live Virtual Training - Online" as Jeanne suggested, just got an email now saying the form was approved.

Hopefully will save the next person time
Hi All,

I submitted my part 2 on 24 January 2014, sat for part 3 on 27th January 2014, got my results on 30th January, all under a week.

Scored 147, thanks to the experiences and the faq wiki here at the ranch, was really helpful.

I had attended a live virtual training for the required training, now when I try to submit the submission form to complete the cert path, I'm asked about facility name, it's mandatory, what do I put there?

Thanks in advance
Hi

Since you also have a chapter on the assignment, i thought i should ask you about a dillema i'm facing.
Completed the trainin, and exam in Decemeber 2011, and in the time since then i have been investing my time in learning about java frameworks (i.e. Spring, play, etc), all these frameworks are based on the JEE tech stack, so they are not against jee, so my question is: since sometimes it might be better to go with these other solutions instead of raw jee (i.e. Team members current knowledge), would it be correct to suggest using such solutions in the assignment where plausible?

Thanks in advance
Srikanth, I dont have an answer for you, was just wondering how your employer will feel when he/she comes here, and reads all about your change

All the best in that, change is good
12 years ago
Just took a week to prep for the exam, and if you dont believe it yet, that K&B study guide is really good, was able to go through most of the book in a week of nothing but that book (was supposed to be on 3 days anual leave and public holidays i was owed from work).

Was not able to practice past chp 3, was not able to finish any practice exam before the exam.
Just wrote today, and i got 58%, pass mark 61%, with the amount of prep i had done, that tells me the study guide is very good (plus experience of course).

Will be continuing to finish of practicing for the rest of the study guide, redo it, do a couple of practice exams and attack that exam in about 2-3 weeks (only issue is that i'm back at work so ya....)

Had one question in the exam which i'm sure would not compile, and "Compilation fails" was not an option, the number of braces didn't seem to match at a quick glance, and i counted them, they didn't match, had to work with the assumption that nothing was wrong.
Hi Kunal

Did you find the solution for this problem


Unfortunately, NO, I ditched the whole Axis idea.
I decided that since a webservice is just an xml over http at the end of the day, to write the xml myself (created a skeleton file),
fill it up using DomParser, messed around with the http request headers to make sure they adhered to the spec,
so i'm doing the whole thing as in jsp example i put in the first post, using Authenticator
and those guys that sit in those financial&projects meetings in their fancy suites stopped pointing fingers at me...
so i guess that means it's working just fine

Also you mentioned that with old version of java and from your office you were able to get authenticated. Can you share that code.
I want to invoke a webservice on sharepoint with NTLM authentication


Slight misunderstanding there, from the office, we were connecting directly to the EndPoint without having to deal with any authentication.
The authentication stuff started on the client side, who uses a proxy for their web connections, and the proxy just happened to be using NTLM,
so we were forced to do the NTLM authentication to get past the proxy.

Ooooh! I just found the link that might have an answer to your specific problem:
https://coderanch.com/t/518873/Web-Services/java/Consume-Sharepoint-Web-Service-inside

That guy seems to also be using NTLM for consuming a sharepoint webservice

Let us know how it goes
12 years ago
Hi Shankar

Thanks for the response, i'm currently out of ideas on this one (still trying to find a way but also started thinking of an alternative way to Axis for doing the webservice).

But still hoping someone will come with a solution.

Just thought someone out there would have had to do Axis via ntlm proxy before.

Please let me know if you have a light bulb moment
13 years ago
Hi there

Please forgive me if made any mistake with this post (first timer)

Straight into the issue

We got a wsdl file from a 3rd party, threw it into Eclipse to create the stubs with Axis2-1.4.1, finished writing the client, works great from our office.

Deployed the Webservice client (stubs included) on the Client side, then issues started because The client's WWW connection is done via a proxy (NTLM).

I wrote a normal/direct http connection jsp which after having to upgrade the jdk version, and using the "java.net.Authenticator.setDefault(myAuthenticator)" connects to the WWW just fine. so i started celebrating and all, until i decided to test the Webservice itself.

The code snippet for the jsp:




The code snippet for the Webservice client:



And that's where all breaks loose with the following exception:



After i noticed that the Webservice was always just somehow defaulting to BASIC, did a tcp dump to look at all the differences between the two connections:

Direct (not webservice)



Via Axis2



Extra info:
I've seen that the warning

Required credentials not available for BASIC

is given in HttpMethodDirector.java in method authenticateHost(final HttpMethod method)



and that method has the following:


So the

authscheme

is taken from the

method

which I would guess is "supposed" to be getting these details within HttpMethodDirector.java:



I have no idea why this thing is still defaulting to BASIC.

What am i doing wrong with the webservice client?

Please help...

Thanks in Advance



13 years ago