BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 11-11-2009, 08:31 AM   #1 (permalink)
New Member
Join Date: Nov 2009
Model: 8520
Carrier: TIM
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default SOAP complex type in header

Please Login to Remove!

I am learning how to consume .net web services. I am using 4.7 JDE in Eclipse, testing in the Curve (8520) simulator I generated the stubs using Sun Java Wireless Toolkit 2.5. One of the services requires a complex type in the header:

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlnssi="" xmlnssd="" xmlns:soap12="">
<AuthHeader xmlns="">
<PlainTextTest xmlns="" />

All links (tempuri) were removed from above due to this post restrictions.

Where the string values for UserId and Token must be changed for the correct string values.

Is it possible to do that using the stubs created by the toolkit?

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.