Help coderanch get a
new server
by contributing to the fundraiser

Harshad Khasnis

Ranch Hand
+ Follow
since Jun 06, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Harshad Khasnis

Here is my definition of logic :

Logic is the systematic way to come to wrong conclusion with confidence

Do you still wanna improve on that?
[ November 14, 2008: Message edited by: Harry Kirsten ]
15 years ago
Hi Ulf,
Nice article.

I have one issue - I am using an .Net webservice.
It uses NTLM authentication.
Can you please guid me how i can use Axis2 to authenticate against this web service.

Regards
Harry
16 years ago
Hi Peer,
Thanks for your response.
But, a even though going thru a lot of search & several articals, i am not able to find any solution for the problem.
Please check you PM i am sending the WSDL.

Can you please provide me some solution, or is there any alternative approch for the same. Integration between MS-CRM webservice & Java. I am really stuck with this.

Regards
Harry
16 years ago
Hi Peer,
I also tried using Axis2 and JAX-WS.
But there i faced another problem.
This WSDL is not just plain document/literal format but, .Net style - document/literal wrapped format, where you can found multiple part elements under message element, which is not the case in plain document/literal fomrat.

So when i tried to wsimport[JAX-WS] and WSDL2JAVA[Apache Axis2] i got the error = more than one part element fount for message element...
16 years ago
Hi peer,
you are right. when i was debugging the code, i figured out that Axis has problem dealing with polymorphisms/inheritance.

I am really sorry about not giving the more portion about the WSDL, but the whole WSDL is very large and I cannot post it here.

Also I am not sure whatever you guessed is completely correct or not, if you are ok with it then i can send you the whole WSDL.

I cannot give the whole stub code here, but what i have understood is that, axis created the typeMappingRegistry for every request and response.

The mapping is done between superclass - subclass in the map it was maintained with classType - QName for our example it should be (Response - WhoAmIResponse)

When it is making the request this mapping is properly build (Request - WhoAmIRequest) and thus the apporpriate Serialiser & DeSerialiser gets called.

But when at the time of processing the response this mapping is not available. i.e the Map between classType - QName is empty, so axis is unable to determine which DeSerialiser to call, hence end up calling the DeSerialiser for the class Response.

I am still searching for the solution for this, if you can provide any input it will be great help.

Thanks for your help...really appreciate it.

Best Regards
Harry
[ February 29, 2008: Message edited by: Harry Kirsten ]
16 years ago
Hey Peer, thanks for you response.
I followed the steps in the FAQ & also gone thru the discussion linked in the FAQ.

This the portion of the "mscrm.wsdl" relavent to our discussion.



I am providing the request & response from the tcpmon here.

Request --


Response --


Still I am getting the same exception.

Here is the class WhoAmIResponse in the discussion.


When I tried to debug the code, the found that the "getDeserializer" method for this class is not getting called instead the same method of the super class "Response" is getting called.
[ February 29, 2008: Message edited by: Harry Kirsten ]
16 years ago
Hi I am a Java/J2EE developer
I am currently working on integration between a CRM & an enterprise java application.
I want to access the CRM web service which is developed in .Net using the WSDL

I have generated the client side stubs using WSDL2JAVA.
The WSDL is generated on CRM server.
I am using apache axis 1.4

When i am trying to run my application I am getting following exception.
Can you please help me to resolve this

Regards
Harry


16 years ago
hi ranchers,
I am facing a little problem when using a4j support for h:selectOneRadio.



everything else is working fine, the action associated with a4j is also getting invoked but the re rendering of the dataTable is giving me problem.

When I select between Yes or No, the area where the dataTable is getting displayed goes completely blank & gets redisaplyed after very delayed response.

I have used a4j:support for similar purpose for other controls like h:commandlink, h:selectManyCheckbox, etc, there it is working fine only for h:selectOneRadio giving me this problem.

I have also tried putting the dataTable in a4j:outputPanel but it also didnt worked.

Can anybody please help?

Thanks

[ November 13, 2007: Message edited by: Harry Kirsten ]
[ November 13, 2007: Message edited by: Harry Kirsten ]
16 years ago
JSF
Hi Ranchers,
I am facing on issue when using h:commandLink with my Login page.


And my faces-config file




The above code is working just fine, but If I change the <h:commandButton> to <h:commandLink> then the action method is not getting invoked.

I am not able to figure out what actually The problem is, can Anybody please help?

Thanks
17 years ago
JSF

Originally posted by stephen gates:
In the long run, you try to make your employer happy. If they want to use Salesforce, then learn it and become good at it. If you want to learn ruby or ejbs, do some side projects, buy some books, learn it, then see if there is any way it could be implemented. Learn about different methodologies, learn about different technologies.



Hi Stephan,
Another great reply. Thanks very much.
But if I take this approach, and continue to learn the technologies, while working on SalesForce, in future when I may want to explore new areas or may be job change or something like that where companies will be demanding extensive work experience in the core technologies (e.g. Java,Java EE, .Net, Ajax, etc), how can I show them the work experience. I may have knowledge in these technologies but no relevant real work experience.
How to handle this situation.
I am sure if I continue to deliver the same performance as I am doing right now, I can become an asset for the company, but I am too small to know the company's future plans and also in which direction SalesForce will grow and how much it will be accepted in the whole business scenario.

Thanks.
17 years ago

Originally posted by Theodore Casser:

I suppose that I look at it that way since I'm in a very similar position - for the last five years, I've primarily been working with a different COTS product (OpenText's Livelink). However, in the course of working with it, I've also made sure to keep learning things outside of work when the work I do at the office isn't expanding my knowledge - you never know when something else might crop up - which goes along with what Stephen was saying about making sure you learn as much as you can.

But, to go with what I was saying... I don't know that the concentration is of itself a bad thing.



Whenever I approach any work or task which is allocated to me, first obvious thing that I do is I make sure the task is delivered in time & is a quality work.
But alongside I also try to explore the opportunity to learn from the same work - it may be technology, may be knowledge of business, design of project. This is how I upgrade myself, I learn from the work, from the people/seniors around me.

On this particular task initially I learned few things about various technologies & also the SalesForce APIs. But after working on this task for last 5-6 months, today whatever the knowledge I am getting is of the SalesForce & Business knowledge.

When I try to analyze the things, I figured out that on one hand there is so much more to learn in the core technologies, which i haven't done yet like (e.g Java - EJBs, Spring etc etc. or .Net - ADO, .Net libraries,ASP.Net)
Also on the similar lines I can mention other few technologies also.
AND
on the other hand I getting expertise in SalesForce, I am getting valuable domain knowledge, CRM understandings. My client & my company wants me to move ahead in the same direction & take more responsibilities.

So which path should I choose.

Thanks
17 years ago
HI Stephan,
Thanks for your detailed response.

Right I am moving ahead on the same path what you are suggesting.
I joined in my company as Java Programmer, but besides that i have worked on .Net also and I am always open to learn as different technologies as I can.
Java is just something I love and I think everyone here on JavaRanch do the same thing.

But besides that what I actually wanted to say is about SalesForce, i think this is too much of a specific domain & I fear that my experience get narrowed down to a specific platform, which I don't want at early stage of my life.

My work is basically, using the APIs provided by the SalesForce platform in these several technologies and then built the solutions.

I been doing this for last few months but, there is no value addition in me in these technologies, besides SalesForce. I mean I haven't learn anything new in the course of my work in these technologies.
Whatever i have gained is the SalesForce knowledge.
This is where my doubt is.
Should I consider this as a long term career objective.
And if yes then in future, how can I use this experience for further progress??

Thanks
17 years ago
Hi Ranchers,

I am a Java Developer less than 1 yr of experience.
Recently my company asked me to handle this client work, based on saleforce - Apex Platform. (Salesforce - OnDemand CRM)
The work description is something like this -
To provide customized solutions using Salesforce-APIs.
The technologies used are
1 JavaScript - Ajax
2 Java
3 .Net
4 VBA
The experience working on this so far is good. But I have a doubt should I consider this as a long term career objective. I mean shouldn't it be like getting bind to so much specific this in so early part of my career or should I stick to core Java-Java EE development.

I consulted with some of my seniors, few of them said that this is a good technology to work with & many large companies now a days thinking on the similar lines of what Salesforce have done i.e. launching their system itself as a platform so my this experience will be an added advantage in future, when many more such type of platforms are available.

I am confused on this & need your help
Please give me some guidelines.

Thanks
[ May 01, 2007: Message edited by: Harry Kirsten ]
17 years ago
Definition of Logic:

"Logic is the Systematic Way to come to wrong conclusion with confidence."
17 years ago
Hi Janet chawan
Please check your PM.
and please PM regrding my query.