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
PIN: N/A
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 4.6.1.272. 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="">
<soap12:Header>
<AuthHeader xmlns="">
<UserId>string</UserId>
<Token>string</Token>
</AuthHeader>
</soap12:Header>
<soap12:Body>
<PlainTextTest xmlns="" />
</soap12:Body>
</soap12:Envelope>

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?
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

T&S B-0969-RK01 Vacuum Breaker repair
$15.99
T&S B-0969-RK01 Vacuum Breaker repair pictureBoonton Electronics Model 62 Vacuum Tube Voltmeter Serial 842 Untested As-Is
$18.5
Boonton Electronics Model 62 Vacuum Tube Voltmeter Serial 842 Untested As-Is  pictureVacuum Sealer Food Saver Machine Starter Kit by Wintergreen
$19.99
Vacuum Sealer Food Saver Machine Starter Kit by Wintergreen  pictureDrive Evo Vacumax 605 Suction Vacuum Aspiration Portable Pump
$45.0
Drive Evo Vacumax 605 Suction Vacuum Aspiration Portable Pump  pictureAir Products Specialty Gas E12-Q-N515C Matheson Regulator~Vacuum Pressure
$165.0
Air Products Specialty Gas E12-Q-N515C Matheson Regulator~Vacuum Pressure picture






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