Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: AW: [jira] Created: (WSFX-30) Added a few more test scenarios to TestJA: msg#00176

apache.webservices.fx.devel

Subject: Re: AW: [jira] Created: (WSFX-30) Added a few more test scenarios to TestJAX RPCHandler.java

hi Werner,

In these test cases, I'm adding the JAXRPC Handler (WSS4JHandler)
programmatically (service.getHandlerRegistry, registry.setHandlerChain
etc.), instead of deploying them through Client-config.wsdd. This is
to avoid making changes to the current settings in wsdd file.

However, i realize that, currently the Client-config.wsdd has
different sets of handler config parameters for request and response
flows for the some services. For example, Ping1 has <parameter
name="action" value="UsernameToken"/> for request flow and has no
action defined for response flow. But inside WSS4JHandler, the
doReceiver method, which is invoked for handling the response on
client-side in this case, also sees the action parameter and expects
security headers inside the response and fails.

I was just wondering whether there is a way to specify separate sets
of handler config parameters for request and response flows while
deploying the handlers programmatically. If not, what's the best
solution? That's my problem.

Hope that is much clearer. You can also look into the file
test/interop/TestJAXRPCHandler.java (also attached with this mail) to
see what I'm doing.

Thanks and regards
Venkat



On Wed, 18 Aug 2004 15:02:54 +0200, Dittmann Werner
<werner.dittmann-kv7WeFo6aLtBDgjK7y7TUQ@xxxxxxxxxxxxxxxx> wrote:
> Venkat,
>
> what is the problem with the not workinf scenarios? Problems
> in the config (Axis deployment file)? Can you give me some
> hint what goes wrong there?
>
> Regards,
> Werner
>
> > -----Ursprüngliche Nachricht-----
> > Von: fx-dev-28n8OjmUYWfNLxjTenLetw@xxxxxxxxxxxxxxxx
> > [mailto:fx-dev-28n8OjmUYWfNLxjTenLetw@xxxxxxxxxxxxxxxx]
> > Gesendet: Mittwoch, 18. August 2004 14:46
> > An: fx-dev-28n8OjmUYWfNLxjTenLetw@xxxxxxxxxxxxxxxx
> > Betreff: [jira] Created: (WSFX-30) Added a few more test
> > scenarios to TestJAX RPCHandler.java
> >
> >
> > Message:
> >
> > A new issue has been created in JIRA.
> >
> > ---------------------------------------------------------------------
> > View the issue:
> > http://issues.apache.org/jira/browse/WSFX-30
> >
> > Here is an overview of the issue:
> > ---------------------------------------------------------------------
> > Key: WSFX-30
> > Summary: Added a few more test scenarios to TestJAX
> > RPCHandler.java
> > Type: Improvement
> >
> > Status: Unassigned
> > Priority: Minor
> >
> > Project: WSFX
> > Components:
> > WSS4J
> >
> > Assignee:
> > Reporter: Venkat Reddy
> >
> > Created: Wed, 18 Aug 2004 5:44 AM
> > Updated: Wed, 18 Aug 2004 5:44 AM
> >
> > Description:
> > Scenarios 3, 4 and 6 are working fine right now. The code for
> > the remaining scenarios (1, 2, 5 and 7) also added but yet to
> > be fixed, and is currently commented out. They fail because
> > the same set of handler config parameters do not work for
> > both request and response flows. I'm still thinking on how to
> > fix this. Does anybody have suggestions on how to fix for this?
> >
> > Thanks
> > Venkat
> >
> >
> > ---------------------------------------------------------------------
> > JIRA INFORMATION:
> > This message is automatically generated by JIRA.
> >
> > If you think it was sent incorrectly contact one of the
> > administrators:
> > http://issues.apache.org/jira/secure/Administrators.jspa
> >
> > If you want more information on JIRA, or have a bug to report see:
> > http://www.atlassian.com/software/jira
> >
>

Attachment: TestJAXRPCHandler.java
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation