Quantcast
Channel: Web Service Help
Viewing all 248 articles
Browse latest View live

(no title)

$
0
0

The difference is PeopleSoftListeningConnector and PeopleSoftServiceListeningConnector are two different programs - Java servlets. They both live on the web server in the PSIGW or PSIGW.war (Integration Gateway) container but do different things.

You can think of the gateway URL (including the PeopleSoftListneningConnector as the general pathway to your PeopleSoft instance, it just responds with the PeopleTools version and gateway status.

The target location URL needs to point to a servlet that can process SOAP (XML) requests, i.e., PeopleSoftServiceListeningConnector. Web services use SOAP and therefore this connector.

Having the above settings incorrect is an issue and you should fix them up accordingly.


(no title)

$
0
0

Hi Praj,

i have gone thru all the threads in this post, i am working on Peopleosft9.1 application and 8.5 PT release. The requirment is to request a web service and read the response. I have used the "Consume Web service" and generated the Service Operation "LOGON". i am able to use the source code and Test that via Service tester. I am trying to generate the Soap Doc via Peoplecode and i am encouting issues. can you please let me know your thoughts on this.

The Peoplecode:

 &soapReq = CreateSOAPDoc(); &soapReq.AddEnvelope(%SOAP_Custom); &EnvNode = &soapReq.EnvelopeNode; &AddEnvelopeAttribute = &EnvNode.AddAttribute("xmlns:SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/"); &AddEnvelopeAttribute = &EnvNode.AddAttribute("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance"); &AddEnvelopeAttribute = &EnvNode.AddAttribute("xmlns:xsd", "http://www.w3.org/2001/XMLSchema"); &AddEnvelopeAttribute = &EnvNode.AddAttribute("xmlns:tst", "http://www.lyonsreg.com/WebService/ABAService"); &soapReq.AddMethod("tns:Logon", 1); &soapReq.AddParm("tns:companyID", &Company); &soapReq.AddParm("tns:userName", &User); &soapReq.AddParm("tns:password", &pwd); /* Validate the message */ MessageBox(%MsgStyle_OK, "", 0, 0, "Validate the message"); &OK = &soapReq.ValidateSOAPDoc(); MessageBox(%MsgStyle_OK, "", 0, 0, "Message Validated and &OK = " | &OK); /* Convert SOAP XML to XML */ MessageBox(%MsgStyle_OK, "", 0, 0, "Sending the message next"); &string = &soapReq.GenXmlString(); MessageBox(%MsgStyle_OK, "", 0, 0, "SOAP XML = " | &string); 

The XML created:

 <?xml version="1.0"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tst="http://www.lyonsreg.com/WebService/ABAService" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Body> <tns:Logon> <tns:companyID>287x</tns:companyID> <tns:userName>hcstlxxx</tns:userName> <tns:password>bjcxxxx</tns:password> </tns:Logon> </SOAP-ENV:Body> </SOAP-ENV:Envelope> 

I Need to create this XML:

 <?xml version="1.0"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tst="http://www.lyonsreg.com/WebService/ABAService" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Body> <tns:Logon xmlns="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.lyonsreg.com/WebService/ABAService" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <tns:companyID>2874</tns:companyID> <tns:userName>hcstloumo</tns:userName> <tns:password>bjchc322</tns:password> </tns:Logon> </SOAP-ENV:Body> </SOAP-ENV:Envelope> 

thank you
Ashwini

(no title)

$
0
0

I have an annoying problem. I frequently need to access the errorLog.html and msgLog.html logs when I am testing with outside vendors. I do not have access to the servers where the logs reside, so I access the logs through web browsers. The problem is that when viewed through a browser, the logs do not reflect the most recent messages. There seems to be a several hour delay before messages are visible in the browser even though the messages do physically exist in the log files on the server. For example, a transaction just occurred with a vendor at 2PM in the afternoon but the most recent transcation visible in the browser is at 8:30AM today. I always need to ask my server administrators to deliver the actual files to me in order to be able to see the latest entries. I have tried multiple browsers, deleted their caches, rebooted, etc to try to force a refresh of the display. Do you know why this is happening?

Thanks for any help,
Teresa

(no title)

$
0
0

Hi, can't say I've come across this before. So the files requested from the server (through server administrators) are up to date, but the one you are looking at are not (at the same point in time)?. Are you referring to the same files in both cases (msgLog.html and errorLog.html) or do the server administrators give you different files?

I know the latest entries go to the end of the file which is a bit confusing but I've always found the two; the log in the browser to be the same as what is on the server.

(no title)

$
0
0

I am able to use the XML generated from the IB Service Test tool by invoking the tester.
How ever when i try to invoke it from the Peoplecode i get the following Error.

Integration Gateway - HttpTargetConnector:ExternalApplicationException. Http status code HttpStatusCode returned : 500. (158,10623) PY_IC_DD_DTA_VW.BANK_CD.FieldChange PCPC:3115 Statement:35

HttpTargetConnector:ExternalApplicationException. External System responded with an Error status. For Http Status Code explanation please check Http protocol Specifications.

Any help is appreciated
Thanks
Ash

(no title)

$
0
0

Just to confirm, is the problem the difference in this line?

 <tns:Logon xmlns="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.lyonsreg.com/WebService/ABAService" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 

(no title)

$
0
0

Hi,

I am trying to consume a peoplesoft WSDL thru .NET (Visual Studio 2010 C#)
I used fiddler to get the XML.
I am get the below error.

<?xml version="1.0" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>null</faultstring><detail><IBResponse type="error" xmlns=""><DefaultTitle>Integration Broker Response</DefaultTitle><StatusCode>20</StatusCode><MessageID>911</MessageID><DefaultMessage><![CDATA[SOAP XML Document has no Envelope section. (2,911) AMS_AI_HANDLER.AddApplicantRequestHandler.OnExecute Name:onRequest PCPC:555 Statement:24]]></DefaultMessage><MessageParameters><Parameter><![CDATA[XmlSOAPDoc]]></Parameter><Parameter><![CDATA[ValidateSOAPDoc()]]></Parameter></MessageParameters></IBResponse></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

Below is the XML request send from the .NET client
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><AddApplicant_Req xmlns="http://peoplesoft.com/TestRequest"><p_application_ref xmlns="">S12345</p_application_ref><p_oprid xmlns="">INTL</p_oprid><p_effdt xmlns="">2011-08-15</p_effdt><p_last_name xmlns="">TestLastName</p_last_name><p_first_name xmlns="">TestFirstName</p_first_name><p_middle_name xmlns="">TestMiddleName</p_middle_name><p_title xmlns="">Mr</p_title><p_sex xmlns="">M</p_sex><p_birthdate xmlns="">1980-01-01</p_birthdate><p_emailid xmlns="">ua.ude.timr|tset#ua.ude.timr|tset</p_emailid></AddApplicant_Req></s:Body></s:Envelope>

In the above XML request sent <?xml version="1.0" ?> is missing.
How to include that in the XML thru .NET ?

Cheers
Shafeeq

(no title)

$
0
0

Hi Michael,

Did you manage to fix this issue ?
I am trying to consume a PeopleSoft Webservice thru .NET client.
I am getting the same error.
<DefaultMessage><![CDATA[SOAP XML Document has no Envelope section. (2,911) AMS_AI_HANDLER.AddApplicantRequestHandler.OnExecute Name:onRequest PCPC:731 Statement:26]]></DefaultMessage>
But if i use the fiddler to see XML message which gets generated from .NET client, I see the XML Envelope.

Cheers
Shafeeq


(no title)

$
0
0

Hi,
I am trying to configure IB on our Demo instance (tried on dev but getting issues so thought of first setting it up in demo), the purpose behind this is to enable using peoplesoft delivered App Engine/IB for populating dynamic roles.
I have done the following:
1)PT > IB > Configuration >Quick Configuration : Provided the gateway URL. I am able to ping it.Getting the following screes:
PeopleSoft Listening Connector
Tools Version : 8.50.08
Status: ACTIVE
2) I can see my our domain detail under IB domains section
3) PT > IB > Configuration > Gateways : Configured the Gateway ID - LOCAL.Able to ping gateway.
4) Successfully loaded connectors using "Load Gateway Connectors" button
5) PT > IB > Configuration > Service Configuration:
Service Namespace: ( Left as delivered)
Schema Namespace : (Left as delivered)
Target Location: appserver machine name : port number /PSIGW/PeopleSoftServiceListeningConnector
6) PT > IB > Integration Setup > Nodes (Node definition Page)
Selected the node PSFT_HT (Default Local node for my installation)
Authentication Option : Password
Gave node password as : PS
Default User ID : PS
left all other fields blank
7) PT>IB>Integration Setup —> Nodes (Connectors Page)
Node_name : PSFT_HR
Gateway ID - LOCAL
Conector ID - PSFTTARGET
Clicked on gateway Setup Properties.Provided the default user id/password administrator/password.
Under Gateway Default App. Server
Provided the appserver URL as :stlhrd01.soi.dir.solutia.com:7009
User ID/Password as PS/PS
Tools Release as : 8.50.08
Under PeopleSoft node gave the following
node Name :PSFT_HR
Appserver URL :
stlhrd01.soi.dir.solutia.com:7009
User ID/Password : PS/PS
Tools Release as 8.50.08
Tried to ping node and got the following : PeopleSoftTargetConnector - The application server is down (or not responding). Check AppServer URL.

(no title)

$
0
0

Might need to go into Advanced Gateway set up in the gateway settings and set up the nodes in there too?

(no title)

$
0
0

Thanks for quick response.
I clicked tha dvanced gateway setup link under quick configuration.I can see the connector detail and there are 9 default connectors that were loaded for LOCAL gateway.But there are no properties corresponding to PSFTTARGET.
I clicked on Gateway setupproperties ..provided the user id/password.
Got the screes with label : PeopleSoft Node Configuration.
Under Gateway Default App. Server ..provided the appserver URL as //machine name : 7009
Provided the detail sin PeopleSoft Nodes grid as
Node name : PSFT_HR , APP Server URL as //machine name : 7009
Provided user id/ password.
Saved but still not able to ping the node.Getting message : PeopleSoftTargetConnector - The application server is down (or not responding). Check AppServer URL

(no title)

$
0
0

Hmmm, in your gateway URL:
PSIGW/PeopleSoftServiceListeningConnector

May actually need to be:
PSIGW/PeopleSoftListeningConnector

Which might explain how all the target connectors are not loading. I think it will ping (and look correct with the other one, but that is for web services).

(no title)

$
0
0

I figured it out.Thans you for your response.
But I am now stuck with a new error.The dynamin role AE:DYNROLE_PUBL is failing giving the following error:
Message Schema Validation errors: Message ROLESYNCHEXT_MSG, Version VERSION_1, Errors:Fatal Error: ( line: 0 column: 0 ) An exception occurred! Type:NetAccessorException, Message:Could not open file: http: // stlhrd01.soi.dir.solutia.com:7011/PSIGW/PeopleSoftServiceListeningConnector/ROLESYNCHEXT_MSG.VERSION_1.xsdError: ( line: 1 column: 40 ) Unknown element 'ROLESYNCHEXT_MSG'Error: ( line: 1 column: 52 ) Unknown element 'FieldTypes'Error: ( line: 1 column: 75 ) Unknown element 'DYNROLE_AET (158,530)

Schema validation failed for request message ROLESYNCHEXT_MSG, message version VERSION_1. (119,40) DYNROLE_PUBL.MAIN.GBL.default.1900-01-01.Step03.OnExecute PCPC:6603 Statement:111

Process 153202 ABENDED at Step DYNROLE_PUBL.MAIN.Step03 (PeopleCode) — RC = 24 (108,524)

(no title)

$
0
0

We use the dynamic roles app engines on a regular basis. We found that if we click the button in the Role page, it calls DYNROLE_PUBL and it doesn't work. However, the app engine DYNROLE works.

The problem is that there's a hidden checkbox field on that PS page ROLE_DYNMEMBER that's labeled "Publish". It's defaulted as checked, which runs the DYNROLE_PUBL when you Execute Rule and dies. We made that field visible so we could uncheck the box, and the DYNROLE app engine runs instead.

(If I remember right, we had to contact Oracle to resolve this issue)

(no title)

$
0
0

Thank you very much! Praj.

We followed your steps. It turned out that the routing for GetWSDL was set inactive a while ago by other developers. Once we active the routing for GetWSDL operation. We were able to open the wsdl with browser. We are not seeing that "Unable to find a Routing corresponding to the incoming request message." message anymore.

Thanks again,

Pamela


(no title)

$
0
0

Hi, I am struggling with this issue for more than a week now. Little about my project: I am trying to expose CI-based Web Serive from PS and consume by Sharepoint Form (workflow). I created/exposed CI-based WS and tested with SOAPUI as well as .NET web form. It works. I can get/post data via WS. However, I cannot use same WS in any other environment for example Infopath or SHarepoint forms. I always get the following error:

SoapMapper:The SoapMapper for element CreateCompIntfcU_MY_TEST_CI could not be created. The parameter is incorrect.
- WSDLOperation:Initialization of a SoapMapper for operation EmplCreate failed. The parameter is incorrect.
- WSDLOperation:Initializing of the input message failed for operation EmplCreate. The parameter is incorrect.
- WSDLPort:An operation for port CI_U_MY_TEST_CI_Port could not be initialized. The parameter is incorrect.
- WSDLPort:Analyzing the binding information for port CI_U_MY_TEST_CI_Port failed. The parameter is incorrect.
- WSDLService:Initialization of the port for service U_MyTestEmployee failed. The parameter is incorrect.
- WSDLReader:Analyzing the WSDL file failed. The parameter is incorrect.

I tried to create proxy client in wsdl.exe and svcutil.exe and got similar error:

ERROR: Unable to to import binding 'CI_U_MY_TEST_CI_Binding' from message 'Http:xmlns.oracle.com/Enterprise/HCM/Services/U_ MyTestEmployee.1'
- Unable to import operation 'EmplCreate'
- The element 'Http:
xmlns.oracle.com/Enterprise/Tools/Schemas/M 430148.v1:CreateCompIntfcU_MY_TEST_CI' is missing

Looks like it cannot locate the targent namespace or the Import .xsd file. Now, I am stuck and don't know where to go from here. I have seen ppl saying that if I have the .xsd file in the same location as .wsdl (in local drive ) it should work but I do not think I can get to that .xsd file.

is there any workaround to this. Since I am new to to XML for that matter PS as well, am I missing anything important here?
I would like to hear from you experts, please.

Thank you

(no title)

$
0
0

I resolved this issue.. it was the import XML schema definition.

(no title)

$
0
0

Good one. Did it have the wrong value?

Error when using send-master utility

$
0
0

Hi ,

I'm new to integration s using peoplesoft. I'm trying to use CI based web service, to provide the data to the request send by a 3rd party system.

I was successfully able to create the wsdl and it worked fine in the internet browser.

Now to test the integration, I used the send-master utility to test the SOAP requests that I have generated using the generate soap template(under service utilities)

but when using a input file type project, I'm trying to get the response, I'm getting the following error:

/DefaultTitle><StatusCode>20</StatusCode><MessageID>508</MessageID><DefaultMessage><![CDATA[No content sections present in the request.]]></DefaultMessage»

and when I use POST I get the below mentioned:

Integration Gateway failed while processing the message

Please help me on this issue.

thanks !

(no title)

$
0
0

Hi All,

We are integrating the PS with 3rd party called PeopleAnswers, we are using the CI based web services.
When there is any error in the values they sent, the IB should send them the reason for the error(Fault message.)
When i use the SOAP UI i am getting the proper error message, but the same is not sent to the 3rd party…. instead they are getting the http status code 500 internal server error from PS to them, it seems the IB is not picking the fault message and sending them…

Did any one have idea wat should be changed?

Viewing all 248 articles
Browse latest View live