TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
abc abc
NA
1
3.6k
How to call java service using WCF without app.config
Aug 13 2010 7:25 PM
Hi
I have the following headers in the app.config
<
wsse:Security
s:mustUnderstand
=
"
1
"
xmlns:wsse
=
"
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
"
xmlns:s
=
"
http://schemas.xmlsoap.org/soap/envelope/
"
>
<
wsu:Timestamp
wsu:Id
=
"
Timestamp-02be6222-d34d-4c19-bb35-f4e98cc18534
"
xmlns:wsu
=
"
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
"
>
<
wsu:Created
>
2010-06-28T13:29:03
</
wsu:Created
>
<
wsu:Expires
>
2010-06-28T13:59:03
</
wsu:Expires
>
</
wsu:Timestamp
>
<
wsse:UsernameToken
wsu:Id
=
"
SecurityToken-3f7f983f-66ce-480d-bce6-170632d33f92
"
xmlns:wsu
=
"
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
"
>
<
wsse:Username
>
</
wsse:Username
>
<
wsse:Password
Type
=
"
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText
"
>
</
wsse:Password
>
<
wsse:Nonce
>
L8o3HoilQh2i4kkwlGTY4w==
</
wsse:Nonce
>
</
wsse:UsernameToken
>
</
wsse:Security
>
The client asked me to ommit the app.config and do the above configuration from code
How do I do that?
I tried OutgoingMessageHeader, but when i call the java web service (that is not not implemented by myself) always returns "Error readin XMLStreamReader"
please advisse,
Reply
Answers (
0
)
Security errors in Silverlight application.
WCF dataContracts and LINQ to SQL