Matt Zollinhofer

Ranch Hand
+ Follow
since Jul 09, 2004
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 Matt Zollinhofer

I just wanted to second what itrahul soni said. When you get the response back, that's what you need to do.
14 years ago
I can't seem to wrap my head around how load balancing works in weblogic or how the "Clustering Address" field works in particular. First let me describe my environment.

2 virtual servers (VS1 & VS2) with WL 10.3 installed
2 Machines (M1 & M2)
1 Admin Server (AS) on M1
2 Managed Servers (MS1 & MS2) on M1 and M2 respectively
1 Cluster (C1) - created from the Admin Console having MS1 and MS2 registered with it
2 Node Managers (NM1 & NM2) running on VS1 & VS2 respectively (able to start and stop MS1 & MS2)
1 Ear with a webservice targeted to the cluster (other things installed too...but for simplicity lets just go with that)

AS - listening on 192.168.0.10:7001
MS1 - listening on 192.168.0.11:7002
MS2 - listening on 192.168.0.12:7002

I think that's about all the relevant information, let me know if there's more I left out.
Questions:
1) The test I've been trying to run is simple, try to access the WSDL by hitting http://192.168.0.11:7002/TestWebservice/TestWebservice?WSDL then bringing down MS1 to hopefully have the cluster balance the request over to MS2. Is that a valid test? I'm still having a hard time wrapping my head around how/why that would work, but from the documentation I've read I feel like it should.
2) What do I put in the "Cluster Address" for C1?
- I've tried putting 192.168.0.11:7002,192.168.0.12:7002 and I've tried leaving it blank - running the above test fails
3) Do I have to have an external load balancer for my test to work?


I feel like I'm just missing something obvious, so any thoughts, no matter how basic are apprciated.

Thanks,
Matt
14 years ago
I thought I did that, but maybe I'll try again...does this make more sense?



I'm not sure how netbeans generates things but I think it'll be something resembling the above code. some class names will probably be different...
14 years ago
yes I am able to connect and interact with sharepoint. I'm not sure if you're getting that error when connecting to the WSDL or once you're using the classes you generated from the WSDL. assuming the ladder, you should be able to do something like this:

14 years ago
The WSDL should be located at something like: https://<yoursharepointserver>/_vti_bin/lists.asmx?WSDL

The WSDL above would be the WSDL to work with lists. See here: http://msdn.microsoft.com/en-us/library/cc752745.aspx for other WSDLs and here: http://msdn.microsoft.com/en-us/library/lists.lists_methods.aspx for more details about using the list api.

Let us know, with a little more detail, what you need help with.
14 years ago
My response is a bit late, but in case you're still tracking this I'll throw out a comment. And I'm not exactly sure what you're asking for, but it sounds to me like you want to know how to send a message to a Sharepoint list to change one of the list's column names.

If that is correct, one of the things I noticed is that you're calling GetListItems. I don't think that's the method of the web service that you want to call. I think you want to call UpdateListItems. Check out this page for more details: UpdateListItems at MSDN. Search for "column" on the page and you'll see an example of how to update that. I haven't updated column names myself, but I have inserted new items using that method so I'd think that should work too.

Keep us posted.
14 years ago
Sounds about right to me, give it a shot.
14 years ago
Unfortunately, I never really completely solved my problem. I ended up just creating the jar to connect to the external webservice with the ClientGen wizard. Now, it had to put the JAR into a webservice project, but I wanted it in my bean. So, I had to manually copy the JAR that it created over to my bean. I also may have had to add a few libraries as references, but I don't remember off the top of my head. If so, that will probably become obvious.

Good Luck.
14 years ago
Title basically says it all, but I'm looking for suggestions for the best way to have a message driven bean receive a message then process it and call an external web service with the results. This seems like a straightforward problem to solve but I keep getting stuck in the deployment to weblogic when I do it my way so I'm looking for new ideas.

Basically, I have an MDB that gets deployed to WL and receives messages just fine. Also, I have a standalone class, that runs from the command line or IDE, that can send messages to the external web service. But when I try to bring the code from the standalone class into the MDB and get it deployed, I can't get all the dependencies to resolve.

So, is there a proper way to do this? Which wizard should I be using to get Workshop to create web service client so that I can use it in my MDB project? Any suggestions to tutorials?

I'm using Weblogic 10.3 and the Workshop that comes along with that.

Thanks,
Matt
14 years ago
Well the stacktrace seems to have been a little misleading. I've at least moved the problem a little bit by dumping in a bunch more jar files that axis.jar seems to have been using. Now I'm trouble with something in the actual web service call, but I'm going to post a new thread about that.

Thanks for your help,
Matt
14 years ago
Wow, yeah...there it is. Thanks for the suggestion.


So it's there an on the classpath, any thoughts about why it would still throw a NoClassDefFoundError?

If it was conflicting with something else, I would get a different error wouldn't I?
14 years ago
Thanks for replying Marcos.

Unfortunately, I'm still having problems. To be more specific, I'm trying to deploy an EAR that contains an MDB. That deployment seems to work fine and the MDB receives calls and can output log messages. But when I try to add the next step which is to have the MDB make a call to an external web service (using axis) I get this stack trace:



which leads me to believe that weblogic hasn't picked up the axis.jar that I put in the domain's lib directory. When I pull out the logic to call the web service and just run it in the IDE it works as expected.

Any suggestions are appreciated,
Matt
14 years ago
I'm more accustomed to working with Tomcat but I'm starting to work with Weblogic (10.3) and I have a pretty basic question. I see that I need to look into using wldeploy for ant deployments to Weblogic, but how do I handle things that I would typically put in the common/lib or shared/lib?

Thanks,
Matt
14 years ago
I'm a little late thread, but I have been able to connect to the web service and get information back about lists, so if you're still having problems post up and we'll get it figured out.

If by chance you've gotten through this in the past year or two and have been able to update the list I'd really appreciate some help. For some reason when I try to put things into the list I get this error:


AxisFault
faultCode: {http://www.w3.org/2003/05/soap-envelope}Receiver
faultSubcode:
faultString: Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
faultActor:
faultNode:
faultDetail:
{http://schemas.microsoft.com/sharepoint/soap/}errorstring:Element <Fields> of parameter newFields is missing or invalid.
{http://schemas.microsoft.com/sharepoint/soap/}errorcode:0x82000000

15 years ago
I'm trying to document the configuration information for our project's installations of Weblogic and I feel like this sort of thing must be done on most projects. Anyone have any pointers, or even better examples, of a good way or model to follow? I'm trying to think of the important information to capture if a new person was to come on and need to reconfigure or reinstall anything.

Thoughts?
15 years ago