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

SCOTSMAN ICE MACHINE 12-2548-01 WATER INLET SOLENOID FROM SCE275 FITS 20+ MODELS
$29.99
SCOTSMAN ICE MACHINE 12-2548-01 WATER INLET SOLENOID FROM SCE275 FITS 20+ MODELS pictureSkinner Solenoid Valve C2DX189S
$27.3
Skinner  Solenoid Valve C2DX189S  pictureASCO 8210G014 120/60 AIR/ WATER150 PSI 1" PIPE THREAD
$130.0
ASCO 8210G014 120/60 AIR/ WATER150 PSI 1DAIKIN KSO-G02-7CA-30-CLE SOLENOID CONTROLLED VALVE *NEW NO BOX*
$228.0
DAIKIN KSO-G02-7CA-30-CLE SOLENOID CONTROLLED VALVE *NEW NO BOX* pictureNACHI SA-G01-A3X-C1-31 SOLENOID OPERATED DIRECTIONAL CONTROL VALVE *USED*
$73.0
NACHI SA-G01-A3X-C1-31 SOLENOID OPERATED DIRECTIONAL CONTROL VALVE *USED* picture






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