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 xmlns
si="" xmlns
sd="" 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?