As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I have 2 webservices, where i'm generating a token using the 1st webservices and passing the same to the 2nd, i'm able to genertate the token without any problem but am getting the error when i'm trying the read the 2nd webservices, as mentioned below
Yes, i'm passing all the required parameters. I was told that this could be something to do with SOAP error, does any one know how to troubleshoot the SOAP error.
Thanks,
WF 7.6.4 Windows HTML/PDF/Excel
Posts: 5 | Location: Bangalore | Registered: September 09, 2011
I have 2 webservices, where i'm generating a token using the 1st webservices and passing the same to the 2nd, i'm able to genertate the token without any problem but am getting the error when i'm trying the read the 2nd webservices, as mentioned below
I have created the MFD/ACX without any problem using server console
I'm passing the necessary parameters to get the data, i was told that i'm not able to communicate to the 2nd webservice server atall. Is there something i need to do with the SOAP connection. Pls let me know.
WF 7.6.4 Windows HTML/PDF/Excel
Posts: 5 | Location: Bangalore | Registered: September 09, 2011
I'm able to access the webservices from outside with out any problem, i feet this is something to do with our webfocus settings. Any idea on this would be greatly appreciated.
Thanks,
WF 7.6.4 Windows HTML/PDF/Excel
Posts: 5 | Location: Bangalore | Registered: September 09, 2011
maybe your problem is related to a case I opened with IBI (# 71852515).
It seems that multiple WebServices can currently not be consumed in one request when they are hosted on the same server.
From different servers you have no problem but if you have two conntections to different services but on the same URL the second will fail as WF is still trying to use the first WSDL.
You may try the following (eventhough it is a little crazy):
between your two WebService calls something like:
ENGINE SOAP SET CONNECTION_ATTRIBUTES CON02:'https//invalid.server.com https://invalid.wsdl.com' TABLE FILE CON02 PRINT * END -RUN -TYPE An error should occur here - but this is intended -* continue with your second engine statement ENGINE SOAP SET CONNECTION_ATTRIBUTES CON02/zzzz,101F722A0C3C0DEA:'https://server.com/abcd/sa/train_core/finance -RUN
The invalid connection string seem to force WF to loose the prev. connection. If you then change CON02 back to the correct server (but different service instance) it should work again.
Hope this might be of help - worked for me on 7.7.01
Can you please give me an example of how to go about this.
I have something like this
-SET &ECHO=ALL; ENGINE SOAP SET CONNECTION_ATTRIBUTES CON01/zzzz,101F722A0C3C0DEA:'https:///abcdef https:///abcdef_nc/?wsdl' ENGINE SOAP SET CONNECTION_ATTRIBUTES CON02/au00,101F722A0C3C0DEA:'https:///abcdef/sa/train_c- ore/crncy https:// -* SET ALL=ON TABLE FILE CREATESESSION PRINT TOKN WHERE USRD EQ '***k' ON TABLE HOLD AS TMP1 FORMAT ALPHA END -RUN -* -READ TMP1 &TOKEN.A193. -TYPE &TOKEN -*
TABLE FILE GET PRINT A B C D E F WHERE tokn EQ '&TOKEN' ON TABLE HOLD AS XMLTMP FORMAT ALPHA END -* -EXIT
I tried with the option what you mentioned me, it gives me the same error.
Pls let me know if you think different.
Thanks,
WF 7.6.4 Windows HTML/PDF/Excel
Posts: 5 | Location: Bangalore | Registered: September 09, 2011
an example is very difficult to produce, as no example WebService comes with WF AFAIK. Assuming "TABLE FILE CREATESESSION" comes from CON01 and "TABLE FILE GET" from CON02 you could try the following in your code (copied and adjusted - remark: e.g. you have URLS like https:/// with three / which is already invalid):
-SET &ECHO=ALL;
ENGINE SOAP SET CONNECTION_ATTRIBUTES
CON01/zzzz,101F722A0C3C0DEA:'https:///abcdef https:///abcdef_nc/?wsdl'
SET ALL=ON
TABLE FILE CREATESESSION
PRINT TOKN
WHERE USRD EQ '***k'
ON TABLE HOLD AS TMP1 FORMAT ALPHA
END
-RUN
-*
-READ TMP1 &TOKEN.A193.
-TYPE &TOKEN
-*
-* here an example invalidating the first Connection, you may also try the same thing with the second:
ENGINE SOAP SET CONNECTION_ATTRIBUTES
CON01/zzzz,101F722A0C3C0DEA:'https://invalid.com https:///invalid.com/?wsdl'
TABLE FILE CREATESESSION
PRINT TOKN
WHERE USRD EQ '***k'
ON TABLE HOLD AS TMP1a FORMAT ALPHA
END
-RUN
-* this will surely fail!! but should not crash
-* continue with the second WS on the same server
ENGINE SOAP SET CONNECTION_ATTRIBUTES
CON02/au00,101F722A0C3C0DEA:'https:///abcdef/sa/train_c-
ore/crncy https:// -*
TABLE FILE GET
PRINT
A
B
C
D
E
F
WHERE tokn EQ '&TOKEN'
ON TABLE HOLD AS XMLTMP FORMAT ALPHA
END
-*
-EXIT
I hope this can help you, though it may of course have nothing to do with the problem you face.