BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 02-05-2009, 09:21 AM   #1 (permalink)
New Member
Join Date: Jan 2009
Model: 8700
Carrier: Vodafone
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default how to initiaize SOAPHeader from J2ME client

Please Login to Remove!


how are the SOAPHeader elements to be initialized for a request
to a .net webservice
while invoking from a Microedition client

have generated a stub using the utility in Wireless Tool Kit 2.5.2
client app in JDE 4.6.1

setting the Stub propertied as below
service._setProperty(Stub.USERNAME_PROPERTY,strUse rName);
service._setProperty(Stub.PASSWORD_PROPERTY,strPas sword);

and having the tag [SoapHeader("credentialsHeader")]
in the service does not show the credentials being passed to the webservice

this however is working fine with a .net client

also do not see the class or javax.xml.rpc.Service in my installation

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

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