Home > Default > The use of ALSB 2.6

The use of ALSB 2.6

October 11Hits:0
Advertisement
Hi,
I got some problems when use ALSB 2.6. Could someone help me? Thanks in advance.
First, I need to configure the authentication and authorization in ALSB. I've read some documents about this, but the documents are too abstract for me, so I can't understand it in a short time.Could someone tell me how to configure it step by step? By the way, I store the users in database.
Second, I want to ask how to change the return type? For example, in other server there is a web service which return a instance of User(the user has two field, name and password). but I only want to return the user's name, how should I do?
Third, below is a WSDL file from a webservice
<definitions name='BeanService' targetNamespace='http://example.com' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://example.com' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
<types></types>
<message name='method'>
<part name='firstName' type='xsd:string'></part>
<part name='lastName' type='xsd:string'></part>
</message>
<message name='methodResponse'>
<part name='return' type='xsd:string'></part>
</message>
<portType name='Service'>
<operation name='checkName' parameterOrder='firstName lastName'>
<input message='tns:method'></input>
<output message='tns:methodResponse'></output>
</operation>
</portType>
<binding name='ServiceBinding' type='tns:Service'>
<soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
<operation name='checkName'>
<soap:operation soapAction=''/>
<input>
<soap:body namespace='http://example.com' use='literal'/>
</input>
<output>
<soap:body namespace='http://example.com' use='literal'/>
</output>
</operation>
</binding>
<service name='ServiceBeanService'>
<port binding='tns:ServiceBinding' name='ServiceBeanPort'>
<soap:address location='http://192.168.168.187:8080/service'/>
</port>
</service>
</definitions>
If I want to validate the client user's name and password, how should I do to get the user name and password?
Thanks,
Sean

Answers

Hi Sean,
I couldn't able to understand ur application completely. I don't know why did you choosed ALSB for this.
I can suggest u some thing for ur problems.
For case 1:
you can use java callout in the message flow for the aunthentication. you can write your own utility class for authentication and using java callout option u can call that utility.
For case 2:
you can difine simple bean for the return type. Once u get the return value in the alsb. Using Xquery editior in the ALSB the user name alone can be extractable and u can use for further sequece in the message flow.
For case 3:
using your wsdl define proxy service. create your client side GUI. finally u can expose the alsb proxy service's wsdl to the client side.
regards,
arun

Read other 3 answers

Tags:

Related Articles

  • BAD_CERTIFICATE error calling a web service over SSL in ALSB 2.6October 11

    We have a business service on an ALSB 2.6 server (running on WL 9.2.1) that connects to a web service over SSL. When we try to run it, we get the following exception: <Sep 17, 2009 7:49:17 AM PDT> <Error> <ALSB Kernel> <BEA-380001>

  • OSB (ALSB) Logging RedirectOctober 11

    Hi all, how to redirect all the OSB(ALSB) related message logs ( Errors and transport exceptions included ) to a log4j custom file. Now, given this discussion: alsb logging The way to go is, apparently, to 1. create filters at domain level by subsyst

  • Database connection from ALSBOctober 11

    Hi all, i'm trying to connect to DB from ALSB using execute-sql(). i have created the datasource in the process construction stage, but ALSB fails to locate the datasource during testing. is it mandatory to create the required datasources on domain c

  • Exception while executing split join in ALSBOctober 11

    Hi When i am executing splitjoin flow in ALSB i am getting below exception ####<Nov 29, 2010 5:02:17 AM EST> <Error> <BPEL Kernel> <gifsmrt> <AdminServer> <[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (s

  • ALSB 3.0 : Request message works in Test Console but not from Client sideOctober 11

    By invoking a Web Service operation through a signature/encryption enabled Proxy Service in the ALSB Test Console for Proxy Services, i get a successful response. Now when invoking the operation from a client application i get the following error res

  • Getting error while starting Managed server configured in ALSB(ClusteredEnvOctober 11

    Hi All, I configured Custered environment in Weblogic 9.2 to use in ALSB. While starting managed server i am getting error : <Critical> <WebLogicServer> <punitp46462d> <new_ManagedServer_1> <Main Thread> <<WLS Kernel>

  • Plug-in "com.bea.alsb.ui" was unable to instantiate class...October 11

    When I invoked New Project -> Oracle Service Bus Configuration Project wizard the following problem occurred: The selected wizard could not be started. Plug-in "com.bea.alsb.ui" was unable to instantiate class "com.bea.alsb.ui.wizards.Ne

  • How to use Fault schema in WSDL for Error Handling in ALSBOctober 11

    We are not able to view the fault element in our alsb flow under body variable and when we get the error in test console the error comes in bea fault schema,but we want the error in our own defined fault schema.Pls. guide. Below are the steps we foll

  • How to create fan-out pattern solution in alsb (osb)October 11

    Hello guys, I'm trying to create a fan-out pattern solution in ALSB in which I have one proxy service for incoming messages and two outbound business services. All messages are to be forwarded to both business services simultaneous but independent fr

  • How to use JMSReplyTo parameter in ALSBOctober 11

    Hallo all, Background: I am sendind an xml message to ALSB via a JMS Queue. I set the JMSReplyTo header parameter to a spcific queue where I want the Service Bus to send the response. I have the following problem: I want to perform some conditional p

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.700 s.