WSDL without SOAP Action (BTS.Operation?)

Hi
I got a WSDL without SOAP Action specified. I'm able to generate XSDs, set up a send port and  call an operation. Since I was calling a single web operation then I set up my Action at send port WCF config to be
http://localhost/CarService/updateLocation, i.e. [service URL]/[operation name].
My problem now is that I need to call two separate operations from that web service by using BTS.Operation property; one is still
updateLocation and the other one is removeLocation. How can I specify Action in send port WCF config when SOAP Action is missing in WSDL? I tried specifying different values but none of them were successful.
Ex.
<BtsActionMapping>
   <Operation Name="updateLocation" Action=""/>
   <Operation Name="removeLocation" Action=""/>
</BtsActionMapping>
Kind regards
A.H.

Hi,
How are going to call these web-methods. Are your going to call these two methods from the same Orchestration. Or are you going to call these methods from two different send ports by content-based routing (send port filter).
In BizTalk, this instruction (SOAP Action) is set by assigning a value to WCF.Action context property. You can specify WCF.Action property in two ways:
Single Action Format
Action Mapping Format
The way you have been calling before "http://localhost/CarService/updateLocation" is called Single Action Format. Now you have use the Action mapping format.
In Action mapping format, you map the WCF.Action context is “mapped”/resolved from another context property BTS.Operation. So if you call from the Orchestration, set the BTS.Operation approirately to resolve the URL in the config. i.e if you have config
like this:
<BtsActionMapping>
<Operation Name="updateLocation" Action="http://localhost/CarService/updateLocation"/>
<Operation Name="removeLocation" Action="http://localhost/CarService/removeLocation"/>
</BtsActionMapping>
In your orchestration, if you set the WCF.Action to "removeLocation", WCF.Action would be resolved to "http://localhost/CarService/removeLocation". In orchestration, you set the
WCF.Action  context, by setting the logical send port's operation name. Refer to this article for more info:http://www.fortuvis.com/blog/biztalk-and-wcf-soap-action/
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful.

Similar Messages

  • PI 7.1 multiple operation interface and SOAP action doubt

    Hi guys,
    I'm trying to implement a scenario, where I have a single outbound (sender side) interface with multiple operations (as 7.1 allows). The problem is afetr the WSDL generation I have the same SOAP action for each operation. Standardly there should be unique SOAP action per operation, but how to achieve it?
    And another question - is it ok to use SOAP sender adapter for this interface?
    Thanks for your help,
    Olian

    Hi Olian,
    >>The problem is afetr the WSDL generation I have the same SOAP action for each operation. Standardly there should be unique SOAP action per operation, but how to achieve it?
    I dont think you need to have separate action, the Operation Name inside Service Interface differentiate the Request type. Also when you send SOAP message to PI, you are sending it to either
    http://host:port /XISOAPAdapter/MessageServlet?channel=p:s:c
               (where host is the host name, port is the port number, p is the optional party name, s the service name, and c is the channel name, respectively.The URL given above is valid for 3.0/7.0/7.1.)
    or      * http://host:port /XISOAPAdapter/MessageServlet?senderParty=FP& senderService=FS& interface=IF&receiverParty=TP&receiverService=TS&interfaceNamespace=IFNamespace *   
    (7. 10 onwards a new URL syntax is also valid and is recommended to be used. )
    >>And another question - is it ok to use SOAP sender adapter for this interface?
    Yes
    Regards
    Suraj
    Edited by: S.R.Suraj on Sep 8, 2009 6:23 AM

  • SOAP Action in Logical port config

    Hi,
    I created a client proxy for an external web service, and developed a client application to use this proxy. I am trying to set up a logical port for it. However, in transaction LPCONFIG, it seems that the field SOAP Action is not persistent anywhere since once I leave the transaction screen and reopen it, the parameter disappears. This caused me an error when I use the proxy saying a valid action parameter needs to be set.
    Anyone has any idea about this? Thanks a lot for your help!
    Regards,
    Hart

    Hi Thomas,
    Thanks a lot for your help! Actually I resolved the issue I had before and now it works well. The problem I had was I created the client proxy based on a local wsdl file, and the proxy generation somehow did not add the soap actions as operations so in LPCONFIG I could not see any operations. The SOAP Action field is open for input, but it cannot be saved.
    I regenerated the proxy using wsdl directly from a URL, and now I can see all my actions/operations in LPCONFIG and of course the action field can now be saved (associated to the selected operations).
    Regards,
    Hart

  • What does SOAP action do?

    Hi All,
    From hep.sap, i have got a very few knoweldge abt SOAP Action. i.e.,"Specify the SOAP action. The action species the value for the SOAPAction in Web service messages.".
    Can any one elaborate SOAP Action purpose, since we are calling Webservice through SOAP URL.
    Thanks

    Hi ,
    it is like a function that web service can perform.
    you find the SOAP action from WSDL file at tag soap:operation:
    If more than one message type is described in the WSDL, several SOAP actions might also be defined. Check for the correct operation name. If no SOAP action is defined in the WSDL, you can leave the parameter in the receiver channel empty.
    Regards,
    Rohit
    pls reward points if found useful...

  • C# interviews and soap actions...

    For the interview web service wsdls, the soap actions have the project name in them... I am not really sure why that is... Is there any background someone can provide on that?
    For instance, an OPA project called "test" has the following action defined for opening a session:
    http://oracle.com/determinations/server/interview/10.4/test/types/OpenSession
    A project called "WebServiceDemo" has the following action defined for opening a session:
    http://oracle.com/determinations/server/interview/10.4/WebServiceDemo/types/OpenSession
    Other than that, these are identical, and the same client C# code could be used to run interviews for either ruleset...
    Anybody know how in C# to replace the action so that one client can call both interview rulesets (or any other ruleset at a dynamic endpoint)?
    I know how to change the endpoint. The endpoint can be changed easily as in this example:
    OPAInterview.odsInterviewService_test_typeClient iclient = new OPAInterview.odsInterviewService_test_typeClient();
    iclient.Endpoint.Address = new System.ServiceModel.EndpointAddress("http://mynewurl/...");
    Changing the actions are giving me a problem... Without that, I can't run interviews generically.

    Rehi,
    forgot to say: when using jsp:include, the whole calling JSP is replaced w/ the called document. However, jsp:include is not an option die to c:import tech advantages.
    But, important may be this two-liner that Jasper throws to STDOUT:
    Nov 5, 2003 10:26:22 PM org.apache.jasper.runtime.PageContextImpl release
    WARNING: Internal error flushing the buffer in release()
    ? Bug due to Tomcat beta... or?
    THX, Timo

  • Calling a business service based on operation-soap action in Proxy service

    Hi,
    I have a requirement in which I have to call a business service based on operation-soap action defined in Proxy service wsdl.
    Like in below mentioned wsdl GetPartCostDelta and GetCurrencyList operations are there.But which ever operation I select,It just goes to one business service.
    Is there any way,I can route to some another business service based on the soap action
    proxy service WSDL
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ewopcd="urn:com:gm:gpd:schema:ewopartcostdelta" xmlns:gen="urn:com:gm:gpd:schema:genericfault" xmlns:tns="urn:com:gm:gpd:services:ewopartcostdeltaservice" targetNamespace="urn:com:gm:gpd:services:ewopartcostdeltaservice">
         <wsdl:types>
              <xs:schema>
                   <xs:import namespace="urn:com:gm:gpd:schema:ewopartcostdelta" schemaLocation="ewocostdelta.xsd"/>
                   <xs:import namespace="urn:com:gm:gpd:schema:genericfault" schemaLocation="servicefault.xsd"/>
              </xs:schema>
         </wsdl:types>
         <wsdl:message name="EWOCurrencyListRequest">
              <wsdl:part name="CurrencyListRequest" element="ewopcd:EWOCostDeltaInput"/>
         </wsdl:message>     
         <wsdl:message name="EWOCurrencyListResponse">
              <wsdl:part name="CurrencyListResponse" element="ewopcd:EWOCurrencyList"/>
         </wsdl:message>     
         <wsdl:message name="EWOPartCostDeltaRequest">
              <wsdl:part name="PartCostDeltaRequest" element="ewopcd:EWOCostDeltaInput"/>
         </wsdl:message>
         <wsdl:message name="EWOPartCostDeltaResponse">
              <wsdl:part name="PartCostDeltaResponse" element="ewopcd:EWOCostDeltaResult"/>
         </wsdl:message>
         <wsdl:message name="EWOPartCostDeltaServiceFault">
              <wsdl:part name="PartCostDeltaServiceFault" element="gen:ServiceFault"/>
         </wsdl:message>
         <wsdl:portType name="EWOPartCostDeltaPortType">
              <wsdl:operation name="GetCurrencyList">
                   <wsdl:input name="EWOCurrencyListRequest" message="tns:EWOCurrencyListRequest"/>
                   <wsdl:output name="EWOCurrencyListResponse" message="tns:EWOCurrencyListResponse"/>
                   <wsdl:fault name="EWOPartCostDeltaServiceFault" message="tns:EWOPartCostDeltaServiceFault"/>
              </wsdl:operation>
              <wsdl:operation name="GetPartCostDelta">
                   <wsdl:input name="EWOPartCostDeltaRequest" message="tns:EWOPartCostDeltaRequest"/>
                   <wsdl:output name="EWOPartCostDeltaResponse" message="tns:EWOPartCostDeltaResponse"/>
                   <wsdl:fault name="EWOPartCostDeltaServiceFault" message="tns:EWOPartCostDeltaServiceFault"/>
              </wsdl:operation>          
         </wsdl:portType>
         <wsdl:binding name="EWOPartCostDeltaBinding" type="tns:EWOPartCostDeltaPortType">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name="GetCurrencyList">
                   <soap:operation soapAction="GetCurrencyList" style="document"/>
                   <wsdl:input>
                        <soap:body use="literal"/>
                   </wsdl:input>
                   <wsdl:output>
                        <soap:body use="literal"/>
                   </wsdl:output>
                   <wsdl:fault name="EWOPartCostDeltaServiceFault">
                        <soap:fault name="EWOCostDeltaServiceFault" use="literal"/>
                   </wsdl:fault>
              </wsdl:operation>
                        <wsdl:operation name="GetPartCostDelta">
                   <soap:operation soapAction="GetPartCostDelta" style="document"/>
                   <wsdl:input>
                        <soap:body use="literal"/>
                   </wsdl:input>
                   <wsdl:output>
                        <soap:body use="literal"/>
                   </wsdl:output>
                   <wsdl:fault name="EWOPartCostDeltaServiceFault">
                        <soap:fault name="EWOCostDeltaServiceFault" use="literal"/>
                   </wsdl:fault>
              </wsdl:operation>
         </wsdl:binding>
         <wsdl:service name="EWOPartCostDeltaService">
              <wsdl:port name="EWOPartCostDeltaPort" binding="tns:EWOPartCostDeltaBinding">
                   <soap:address location="https://localhost/EWOPartCostDelta"/>
              </wsdl:port>
         </wsdl:service>
    </wsdl:definitions>

    Did you try using the Operational branching node of OSB?
    You have copy the operation name from the inbound variable and populate the SOAP Header with that value into the SOAPAction tag.I think this will work.
    Thanks,
    Prabu

  • Soap Action missing in the WSDL generated for Service Interface

    Hi All,
    I have modelled an interface in the ESR and have created the proxy in the back-end ECC6 system. It is basically an outside-in approach. I have generated a WSDL using the Wizard in the SPROXY transaction. But the WSDL does not have any SOAP Action. I tried to create a web-service for an existing BAPI. That WSDL also did not have any SOAP Action. Can you please let me know why the SOAP Action is missing? Is there any other way of generating the WSDL?
    Regards,
    Geetha

    Hi Geetha,
    Please try configuring the entire scenario in PI.
    If you are using PI 7.1, You can see the WSDL by right clicking on Sender agreement. Please use SENDER SOAP Channel. In PI 7.0 you will have to generate WSDL manually.
    Regards,
    Vikas

  • SOAP Action

    I have a scenario rfc to soap,In soap receiver configuration i have given name method name of wsdl,I Have an error
    Unable to find a matching Operation for this remote invocation in moni
    I feel  my soap action is not trigerring,what would be the problem...
    Thanks
    sriram

    hi,
    did you use the imported wsdl ?
    if the document that you imported
    has a different type (RPC) if may not work
    plase have a look at sap note: 856597
    and two questions:
    Q: Does the RPC or Document style in WSDL play a role in the SOAP adapter?
    Q: Can I convert an RPC styled WSDL to a document styled WSDL?
    the above will help you to create a correct wsdl
    you can also have a look at this weblog:
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    to see how to get a correct structure (via XML Spy) of the wsdl message
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Multiple SOAP Actions in SOAP Receiver - PI 7.1

    Is it possible to handle multiple SOAP Actions in SOAP Receiver Communication Channel in PI 7.1 ???
    Plz help ....
    Neena

    How can I handle two SOAP operations without BPM ?
    In first Action I will get an ID,
    WIth that ID I need to perform another Action.
    Any help ???

  • WSDL with SOAP Binding and Attachement

    Hello
    I'm trying to define a WSDL-Definition which defines a operation called getFile() which returns a file as a SOAP attachement. I created the follwing file which I can verify without any problems. However if I try to compile it with wscompile (wscompile -gen:server -mapping build/mapping.xml -d build -nd build -classpath . config.xml) I get the follwing error:
    error: output message of binding operation "getFile" does not have a SOAP body extension
    When I remove the line
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    wscompile generates the classes but gives the following warnings:
    warning: ignoring port "FileDistributorIFPort": not a SOAP port
    warning: Service "FileDistributorService" does not contain any usable ports
    Which is somehow clear because I did not define the soap binding.
    Any ideas what I can do so I can transmit a file via SOAP using attachements?
    Here's the file
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="FileDistributorService"
    targetNamespace="urn:Foo"
    xmlns:tns="urn:Foo"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <types>
    <xsd:schema targetNamespace="urn:Foo"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <xsd:element name="getFile">
    <xsd:complexType>
    <xsd:all>
    <xsd:element name="mySymbol" type="xsd:string"/>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="getFileResponse">
    <xsd:complexType>
    <xsd:all>
    <xsd:element name="result" type="float"/>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    <xsd:complexType name="ArrayOfBinary">
    <xsd:complexContent>
    <xsd:restriction base="soapenc:Array">
    <xsd:attribute ref="soapenc:arrayType"
    wsdl:arrayType="xsd:binary[]"/>
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    </xsd:schema>
    </types>
    <message name="m1">
    <part name="body" element="tns:getFile"/>
    </message>
    <message name="m2">
    <part name="body" element="tns:getFileResponse"/>
    <part name="file" type="tns:ArrayOfBinary"/>
    </message>
    <portType name="pt1">
    <operation name="getFile">
    <input message="tns:m1"/>
    <output message="tns:m2"/>
    </operation>
    </portType>
    <binding name="b1" type="tns:pt1">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="getFile">
    <soap:operation soapAction="getFile"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <mime:multipartRelated>
    <mime:part>
    <soap:body parts="body" use="literal"/>
    </mime:part>
    <mime:part>
    <mime:content part="file" type="tns:ArrayOfBinary"/>
    </mime:part>
    </mime:multipartRelated>
    </output>
    </operation>
    </binding>
    <service name="FileDistributorService">
    <port name="FileDistributorIFPort" binding="tns:b1">
    <soap:address location="http://localhost:8080/fxm/FileDistributorImpl"/>
    </port>
    </service>
    </definitions>
    Thanks a lot!
    Oliver

    Not very sure, but i suspect that there is an error here in your WSDL :
    <mime:multipartRelated>
    <mime:part>
    <soap:body parts="body" use="literal"/>
    </mime:part>
    <mime:part>
    <mime:content part="file" type="tns:ArrayOfBinary"/>The type attribute should be a valid Mime Type.
    Quoting from the WSDL Specification
    The type attribute contains the MIME type string. A type value has two portions, separated by a slash (/), either of which may be a wildcard (*). Not specifying the type attribute indicates that all MIME types are acceptable.
    Why not try the following instead of the last line above
    <mime:content part="file" type="*/*"/>

  • Receiver Adapter - Target URL/SOAP Action

    Hi,
    Can I just confirm the following 2 values required on a SOAP Receiver adapter:
    Target URL : Location within SOAP:Address tag of WSDL
    SOAP Action: SoapAction within SOAP:Operation for relevant Web Service method within WSDL
    Cheers,
    PaulC.

    > Target URL : Value of SOAP:Address tag from web service WSDL
    right, it is attribute "soapAction"
    > SOAP Action: Value of SOAP:Operation for relevant Web Service method within web service WSDL
    right. attribute "location"
    check this guide:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f9cd4

  • Soap Receiver adapter , Target URL and Soap Action

    HI all,
              WIll anyone tell me regarding Soap action, casue , they have given a URL which i have put in Target URL, but i am not able to understand what is SOap action what need to be put in this
    Thankign you
    Sridhar

    i Sridhar,
    In XI SOAP adapter we need two things:
    SOAP URL: which is endpoint to the webserver.
    SOAP action: describes particular method name we wanted to excute on that web applicaiton hosted on the webserver.
    WSDL file has normally multiple operations(methods) , so we execute particular method by giving particular action name.
    Action is not mandatory parameter i guess, this is in case , when wsdl is exposing only one method(action).
    :Normally you can find SOAP Action element under element <SOAP:operation name = "XXX">
    Hope this clears.
    Cheers,
    Div

  • Can we use same SOAP ACTION in different environments?

    Hi All,
    I have a doubt.
    Can we use same SOAP Action URL in different environments i.e suppose say Quality, Production and Pre production.And the Target URL is different in both environments.
    If yest what is the impact in different environment.

    Hi ,
    SOAP action is nothing but operation/method in webservice .
    Usually at end system end as a good practice/std they will maintain the same soap action name in all their environments,but it's always better to cross check url and soap action with end system folks before configuring in PI .
    We have faced an issue in production some time back ,at target system end they upgraded their server and used new wsdl which is almost similar to existing but one of the operation they duplicated by adding few addition fields but forgot to inform PI system.Though we are using new wsdl but pointed to old soap action .Interface got failed in PROD after investigation we come to know that we are using wrong soap action
    Regards
    Venkat

  • How to find the SOAP Action

    Hi,
    I am using the follwoing wsdl in my scenorio:
    http://www.webservicex.net/CurrencyConvertor.asmx?wsdl
    From this wsdl file, how we can find out what is 'SOAP Action' ( which will be maintained in Configuarion SOAP adapter)
    Regards
    Arvind

    Hi,
    click on the link
    ctrl + F
    operation
    Regards,
    michal

  • Calling a web service from a portal application / SOAP Action

    Hallo,
    Ich möchte aus einer Portal Applikation auf einen Web Service zugreifen.
    Dafür habe ich mit dem Wizard "Portal Service from Wsdl file - Client side"
    eine Portal Service erzeugt, auf den ich dann zugreife.
    Leider wird dabei ein Fehler ausgegeben (Stacktrace-Ausschnitt s.u.).
    Ich habe ein Posting zu dem Fehler hier im SDN gefunden, leider hatte dort niemand eine Antwort. Vielleicht hat inzwischen jemand eine Idee?
    Das Feld soapaction ist in der soapconfig.xml leer angegeben (soapaction="").
    Es ändert aber nichts an der Fehlermeldung, wenn ich dort etwas eintrage.
    Ein weiterer Gedanke ist, dass die soapaction, die wenn ich es richtig verstehe eine URL auf die web service methode enthalten soll, im Grunde dynamisch sein sollte, da der Web Service lokal in dem Portal läuft, auf dem die Applikation gerade deployed ist. Auf den Web Service wird mit WebDynPro erfolgreich zugegriffen (dynamisch). Meine Vermutung ist, dass hier das Problem liegt und es entweder mit diesem Wizard nicht möglich ist oder ein Bug vorliegt.
    Also ist die Frage: Wie erzeuge ich dasselbe für eine Portal-Applikation?
    Ich hoffe, dass mir jemand mit einer Antwort oder Hinweisen wo man weiterforschen kann, weiterhelfen kann.
    Freundliche Grüße,
    Daniel Dehnhard
    Stacktrace:
    Component finished with error: (com.sapportals.portal.prt.service.soap.exception.PRTFaultEnvelopeVersion)
    java.lang.IllegalArgumentException: The SOAP Action "" include in the soap request not corresponding to the Portal service method.
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPBodyElement.processParams(PRTSOAPBodyElement.java:253)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPBodyElement.init(PRTSOAPBodyElement.java:190)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPBodyElement.(PRTSOAPBodyElement.java:56)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPBody.init(PRTSOAPBody.java:94)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPBody.(PRTSOAPBody.java:36)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPEnvelope.init(PRTSOAPEnvelope.java:113)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPEnvelope.(PRTSOAPEnvelope.java:54)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPMessage.processSOAPMessage(PRTSOAPMessage.java:58)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPMessage.(PRTSOAPMessage.java:40)
    at com.sapportals.portal.prt.service.soap.SOAPService.call(SOAPService.java:180)
    at com.sapportals.portal.prt.service.soap.PRTSOAPCall.invokeMethod(PRTSOAPCall.java:209)
    at de.enviam.ep.egk.km.webservicewrapper.Z_EP_EM_EGK_CustomerGroupToCRMData.getCustomerGroup2CrmDataByGPNr(Z_EP_EM_EGK_CustomerGroupToCRMData.java:218)
    at de.enviam.ep.egk.km.imp.EPImpSchedulerTask.resolveGroupId(EPImpSchedulerTask.java:764)

    Hi,
      I am accessing a web service from a Portal Component through a Portal Web Service. First i created a web service, then a portal web service which is made to access the wsdl file of the web service. Now i access the Portal Web Service from a Portal Component. Now i am getting an error as,
    Exceptionjava.lang.IllegalArgumentException: The SOAP Action "" include in the soap request not corresponding to the Portal service method.
    The code which i wrote in component is below
    String text = "word";
    FuncHelloResponse res=new FuncHelloResponse();
    FuncHello fn= new FuncHello() ;          
    fn.setName(text);
    res= (  (INewPortal) PortalRuntime.getRuntimeResources().getService(INewPortal.KEY)).FuncHello(fn);
    response.write(res.getResponse());
    Can any one solve this problem?

Maybe you are looking for