How to use InfoPath to test the Webservice
Hi,
I have WSDL file , i want to test the webservice after creating it using infopath.
Please give me some info how to create Webservice using MicroSoft InfoPath.
Thanks,
Siva
Hi,
This might help you
/people/durairaj.athavanraja/blog/2004/09/07/microsoft-office-2003-infopath-sap-rfcwebservice
Regards
Agasthuri Doss
Similar Messages
-
Getting error when testing the webservice in webservice navigator
hello experts,
i created the rfc for to delete the calender appointments it was working fine and i created the webservice for this . when i'm trying to test the webservice with ws navigator i can insert the values on request screen , but result is this error.
webservice response :
HTTP/1.1 200 OK
Set-Cookie: <value is hidden>
content-type: text/xml; charset=utf-8
content-length: 481
sap-srt_id: 20110721/115816/v1.00_final_6.40/D40C9E37E8642547AA79FB54A42976E7
server: SAP Web Application Server (1.0;700)
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><n0:YAPPT_DELETE_N_T2Response xmlns:n0="urn:sap-com:document:sap:rfc:functions"><ERROR_MSG><MSG_ID>BC</MSG_ID><MSG_TYPE>E</MSG_TYPE><MSG_NUMBER>020</MSG_NUMBER><MSG_VAR1>D</MSG_VAR1><MSG_VAR2></MSG_VAR2><MSG_VAR3></MSG_VAR3><MSG_VAR4></MSG_VAR4><FIELDNAME>MAINT_INDI</FIELDNAME><TABLEINDEX>000001</TABLEINDEX></ERROR_MSG></n0:YAPPT_DELETE_N_T2Response></soap-env:Body></soap-env:Envelope>
can anybody guide me how to rectify this problem .help will be greately appreciated.
thanks for coming help
regards,
sashi.hello madhu,
i have got the sollution. in the webservice i'm giving the input (03D86AFB7EE7D14585EF515C59B5F559) same as in data base .while testing the webservice internally the value should be converted into bytes bcoz in the domain the data type was RAW .
so db didnt recognise that value thats why i got the error.
so i use the fm GUID_CONVERT and convert that as db format
thanks for ur response .
regards,
sashi. -
Any one knows how to use Axis Framework in the SOAP Adapter Modules
How to use Axis Framework in the SOAP Adapter?
How to add custom handler modules?
http://help.sap.com/saphelp_nw04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/frameset.htm
I went through the above link on help.sap.com. But still could not create a working example.
I have created a wc on some 3ed party app server using apaches axis. I am trying to call that web service from XI using SOAP receiver? I need to add some security related headers to the soap message, SO I am trying to use a handler. I want to know how to configure this handler in SOAP axis adapter module.
Thank you
MoniRavi ,
I am trying exactly the same. Hers is the scenario.
ABAP Proxy --> PI (7.0) SP 12 ---> WebService.
Since This is service is secured, means it is using OASIS web servie securyty user name token,
I am trying to use AXIS adapter. and I want to configure HandlerBean in which I want to use apache wss4j api to add the userNameToken. I am looking for some documentation on this.
I need to add SOAP action element too as I can not configure this one on the communication channel.
Thanks for any inputs in this regard.
Moni -
How to use bind variables in the following query
CREATE OR REPLACE PROCEDURE MMDB.test IS
sel_qtn VARCHAR2 (10);
CURSOR PT_QUANTITY IS select * from mmdb.product_tree WHERE QUANTITY_CHECK ='E'
AND run_id = 100
a PT_QUANTITY%ROWTYPE;
BEGIN
FOR i IN PT_QUANTITY
loop
sel_qtn := i.quanttity-1;
While sel_qtn>=1
loop
insert into mmdb.product_tree (BILLING_ACCOUNT_NO ,S_CODE) values (i.BILLING_ACCOUNT_NO ,i.S_CODE||'E');
sel_qtn :=sel_qtn -1;
End loop;
commit;
end;Don't duplicate threads: How to use bind variables in the following query
-
In SQL Server Reporting Services (SSRS), drill-down is an action we can apply to any report item to hide and show other report items. They all are ways that we can organize and display data to help our users understand our report better. In this article,
we are talking about how to use parameter to control the Expand/Collapse drill-down options in SSRS report.
Consider that the report has a dataset (dsSales) with following fields: SalesTerritoryGroup, SalesTerritoryCountry, CalendarYear, SalesAmount.
1. The report has the following group settings:
Parent Group: SalesTerritoryGroup
Child Group: SalesTerritoryCountry
Child Group: CalendarYear
Details: SalesAmount
2. Add three parameters in the report:
GroupExpand:
Available Values: “Specify values”
Label: Yes Value: Yes
Label: No Value: No
Default Values: “Specify values”
Value: Yes
CountryExpand:
Available Values: “Specify values”
Label: Yes Value: =IIF(Parameters!GroupExpand.Value="No",Nothing,"Yes")
Label: No Value: No
Default Values: “Specify values”
Value: =IIF(Parameters!GroupExpand.Value="No","No","Yes")
YearExpand:
Available Values: “Specify values”
Label: Yes
Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No",Nothing,"Yes")
Label: No Value: No
Default Values: “Specify values”
Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No","No","Yes")
3. Right click SalesTerritoryCountry icon in the Row Groups dialog box, select Group Properties.
4. Click Visibility in the left pane. Select “Show or hide based on an expression” and type with following expression:
=IIF(Parameters!GroupExpand.Value="Yes", False, True)
Select “Display can be toggled by this report item” option, and select “SalesTerritoryGroup” in the drop down list.
5. Use the same method setting CalendarYear, (Details) drill-down with following expression:
=IIF(Parameters!CountryExpand.Value="Yes", False, True)
=IIF(Parameters!YearExpand.Value="Yes", False, True)
6. Click SalesTerritoryGroup text box in the tablix. Select InitialToggleState property in the Properties dialog box, and type following expression:
=IIF(Parameters!GroupExpand.Value="Yes", True, False)
7. Use the same method setting SalesTerritoryCountry, CalendarYear text box with following expression:
=IIF(Parameters!CountryExpand.Value="Yes", True, False)
=IIF(Parameters!YearExpand.Value="Yes", True, False)
After that, when we preview the report, we can use these three parameters to expand/collapse drill-down.
Note:
In our test, we may meet following issue. We can check the expression of InitialToggleState property to troubleshooting the issue.
Applies to
Reporting Services 2008
Reporting Services 2008 R2
Reporting Services 2012In SQL Server Reporting Services (SSRS), drill-down is an action we can apply to any report item to hide and show other report items. They all are ways that we can organize and display data to help our users understand our report better. In this article,
we are talking about how to use parameter to control the Expand/Collapse drill-down options in SSRS report.
Consider that the report has a dataset (dsSales) with following fields: SalesTerritoryGroup, SalesTerritoryCountry, CalendarYear, SalesAmount.
1. The report has the following group settings:
Parent Group: SalesTerritoryGroup
Child Group: SalesTerritoryCountry
Child Group: CalendarYear
Details: SalesAmount
2. Add three parameters in the report:
GroupExpand:
Available Values: “Specify values”
Label: Yes Value: Yes
Label: No Value: No
Default Values: “Specify values”
Value: Yes
CountryExpand:
Available Values: “Specify values”
Label: Yes Value: =IIF(Parameters!GroupExpand.Value="No",Nothing,"Yes")
Label: No Value: No
Default Values: “Specify values”
Value: =IIF(Parameters!GroupExpand.Value="No","No","Yes")
YearExpand:
Available Values: “Specify values”
Label: Yes
Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No",Nothing,"Yes")
Label: No Value: No
Default Values: “Specify values”
Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No","No","Yes")
3. Right click SalesTerritoryCountry icon in the Row Groups dialog box, select Group Properties.
4. Click Visibility in the left pane. Select “Show or hide based on an expression” and type with following expression:
=IIF(Parameters!GroupExpand.Value="Yes", False, True)
Select “Display can be toggled by this report item” option, and select “SalesTerritoryGroup” in the drop down list.
5. Use the same method setting CalendarYear, (Details) drill-down with following expression:
=IIF(Parameters!CountryExpand.Value="Yes", False, True)
=IIF(Parameters!YearExpand.Value="Yes", False, True)
6. Click SalesTerritoryGroup text box in the tablix. Select InitialToggleState property in the Properties dialog box, and type following expression:
=IIF(Parameters!GroupExpand.Value="Yes", True, False)
7. Use the same method setting SalesTerritoryCountry, CalendarYear text box with following expression:
=IIF(Parameters!CountryExpand.Value="Yes", True, False)
=IIF(Parameters!YearExpand.Value="Yes", True, False)
After that, when we preview the report, we can use these three parameters to expand/collapse drill-down.
Note:
In our test, we may meet following issue. We can check the expression of InitialToggleState property to troubleshooting the issue.
Applies to
Reporting Services 2008
Reporting Services 2008 R2
Reporting Services 2012 -
How to use TYPE addition with the OPEN DATASET ?
Hi,
How to use TYPE addition with the OPEN DATASET and what is the use ?
For Example:
OPEN DATASET 'test.dat'
TYPE 'lrecl=80, blksize=8000, recfm=FB'
FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
Also, if I wish to do the same for a .CSV file how can we do it.
Thanks,
-SidHi,
OPEN DATASET 'test.dat'
TYPE 'lrecl=80, blksize=8000, recfm=FB'
FOR OUTPUT IN TEXT MODE ENCODING DEFAULT
For more information press F1 on OPEN DATASET.
Thanks -
How to use C:when test... inside column in ADF table
I am using ADF table with below two columns
in First column i have to check the Type of document if it is doc type then i have to use commondlink to download that file ,Otherwise i need to show only text.
for that i added
*<c:when test="{boolean($favoriteType eq 'doc')}">*
which is not working .
please let me know how to use <C:when test... inside column in ADF table
<tr:column sortProperty="favoriteName" sortable="true"
headerText="#{res['favorite.favoritename']}"
width="500" noWrap="false">
<c:choose>
*<c:when test="{boolean($favoriteType eq 'doc')}">*
<tr:commandLink actionListener="#{bindings.downloadFile.execute}"
text="#{row.favoriteName}"
disabled="#{!bindings.downloadFile.enabled}"/>
</c:when>
<c:otherwise>
<af:outputText value="#{row.favoriteName}"/>
</c:otherwise>
</c:choose>
</tr:column>
<tr:column sortProperty="favoriteType" sortable="true"
headerText="#{res['favorite.favoriteType']}" rendered="true">
<af:outputText value="#{row.favoriteType}" id="favoriteType"/>
</tr:column>Hi Frank,
Thanks it is working like cham..
related to same page i am facing new problem which i posted at below thread
How to get row data runtime @ trinidad table , set rowSelection="multiple"
can u reply on same.
Thanks for all help.
Jaydeep -
Error while testing the webservice through SOAMANAGER
Hi All,
I have created a webservice from a Function module ( RFC enabled). I am getting an error while testing the webservice from the SOAMANAGER but the function module is working fine giving proper output.
The error is
REQUEST:
POST /sap/bc/srt/rfc/sap/zws_test_cms_bp_fac/600/zws_test_cms_bp_fac/zws_test_cms_bp_fac HTTP/1.1
Host: ed1app.corp.fcc.ca:49000
Content-Type: text/xml; charset=UTF-8
Connection: close
Authorization: <value is hidden>
Content-Length: 654
SOAPAction: ""
<?xml version="1.0" encoding="UTF-8" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Header><sapsess:Session xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/"><enableSession>true</enableSession></sapsess:Session></SOAP-ENV:Header><SOAP-ENV:Body><ns1:ZSRAV_TEST_CMS_BP_FAC xmlns:ns1='urn:sap-com:document:sap:rfc:functions'><IT_BP_LIST><item><BP_NUMBER>9999990013</BP_NUMBER></item></IT_BP_LIST><IV_COMPANY_CODE>FCC</IV_COMPANY_CODE></ns1:ZSRAV_TEST_CMS_BP_FAC></SOAP-ENV:Body></SOAP-ENV:Envelope>
RESPONSE:
HTTP/1.1 500 CX_ST_REF_ACCESS:XSLT exception.An error occurred during serialization in the simple transformation program /1BCDWB/WSSE2B50F3FDFC9C2A94B7.Access to the table ref. node 'ZSCMS_FAC_CAG_DETAILS' outside a loop
Set-Cookie: <value is hidden>
content-type: text/xml; charset=utf-8
content-length: 0
accept: text/xml
sap-srt_id: 20100202/041112/v1.00_final_6.40/4B67E41A4BC41B7CE10000000A013104
server: SAP Web Application Server (1.0;700)
please do the needful.
Thanks in advanceHi,
Here is a very smart tool for webservice test:
[soapUI|http://www.soapui.org/]
It works fine for me!
bg,
attila -
How to use SQL functions in the queries
hey guys i wanna know how to use SQL functions in the queries is it possible or not .
Hi,
Wat exactly that set values are?
those from sql query?
How to use count():
The COUNT() function returns the number of rows that matches a specified criteria.
SQL COUNT(column_name) Syntax
The COUNT(column_name) function returns the number of values (NULL values will not be counted) of the specified column:
SELECT COUNT(column_name) FROM table_name
SQL COUNT(*) Syntax
The COUNT(*) function returns the number of records in a table:
SELECT COUNT(*) FROM table_name
SQL COUNT(DISTINCT column_name) Syntax
The COUNT(DISTINCT column_name) function returns the number of distinct values of the specified column:
SELECT COUNT(DISTINCT column_name) FROM table_name
The IN function helps reduce the need to use multiple OR conditions.
The syntax for the IN function is:
SELECT columns
FROM tables
WHERE column1 in (value1, value2, .... value_n); -
I need to program a Hittite Fractional-N Synthesizer Evaluation Kit with a HMC702LP6CE an external YIG oscillator. Not sure how to use Labview to control the PLL.
Here is how to use the PLL. But I don't know of how to interact with that device
http://zone.ni.com/devzone/cda/tut/p/id/3781
And for thouse who don't know what a PLL is a free bonus link is here:
http://digital.ni.com/public.nsf/allkb/07BC8D77D4E9AE258625708B007CE74F?OpenDocument
and a second one on what that device is: http://www.hittite.com/products/view.html/view/HMC702LP6CE
Now we are all caught up to speed.
Sam S
Applications Engineer
National Instruments -
How to use bexweb analyser in the webbrowser
Hi ALL,
Suggest me .how to use bexweb analyser in the webbrowser?
Regards,
SumanHi,
A useful link for you..!!
http://help.sap.com/saphelp_nw04s/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
-Pradnya -
How to use application item in the page template
How to use application item in the page template.
Thanks,
rajendraHi,
You can refer application item value in template like &MY_ITEM. (note period at end)
http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/concept_sub.htm
Regards,
Jari -
Problem in testing the webservice.
Hi friends,
I have created a webservice in one client and tested the same and its working fine, when i try to test the same webservice in another client , it is throwing an error "Envelope not found. Probably empty soap message.".
-->Is webservice client dependent?
-->What are the prerequisites need to be done when we want to test the webservice in a different client other than where it is actually created.
please provide me some information about this.
Thanks in advance.
Sravani.Hi Sravani,
The following SAP Note might be helpful:
[1396825|https://service.sap.com/sap/support/notes/1396825] "Empty HTTP POST requests to Java web services fail"
Best regards,
Andreas -
How to use glob search with the wildcard in command find?
How to use glob search with the wildcard in command find?
I want to find any file its names begin with "readme" string using command find. Why the following command cannot work?
$find /usr/share/doc -name readme*
However, the following commands can work?
$find /usr/share/doc -name readme\* or
$find /usr/share/doc -name readme'*'
I want to know: After using the “\” or ' ', why the wildcard do not become a character "*"?(still a metacharacter).
Another question:
I want to find any file its names begin with "readme*" string using the command find.What command should I use?I want to know: After using the “\” or ' ', why the
wildcard do not become a character "*"?(still a
metacharacter). The backslash is known as an escape character. It means 'use the character value of the next character, not the special meaning' It is used in a lot of places such as command line, global regular expression patterns, and editors such as vi.
In a typical shell, the splat (*) expands to all file names before passing the file names to the current command. So a \* sequence tells the shell to pass a *, not a list of file names, to the command.
Demo - OpenSuSE Linux 10.3
- I have a bunch of files. Let's list those that end in grid. Create one called *grid, and list again
pops@fuzzyVM:~/pops> ls
a b c startgrid stopgrid
pops@fuzzyVM:~> ls *grid
startgrid stopgrid
pops@fuzzyVM:~> ls \*grid
ls: cannot access *grid: No such file or directory
pops@fuzzyVM:~> touch '*grid'
pops@fuzzyVM:~/pops> ls
a b c *grid startgrid stopgrid
pops@fuzzyVM:~/pops> ls *grid
*grid startgrid stopgrid
pops@fuzzyVM:~/pops> ls \*grid
*grid
pops@fuzzyVM:~/pops>In the above, how would I remove the file *grid, and only that file?
Another question:
I want to find any file its names begin with
"readme*" string using the command find.What command
should I use?What were the results of the two versions you tried? And why? -
1,How to use PS to judge the existence of a folder in the specified directory?(use javascript)
2, how to use PS in the specified directory to create to create the folder?(use javascript)
Thanks you!Thanks you!
Maybe you are looking for
-
Problems Printing to Shared Windows Printer Via SAMBA (foomatic error 255)
I can NOT print from my MacBookPro to a printer that's shared out from my Windows PC. Of course, printing to this same printer from my PC works fine. Please help me resolve this printing problem. Read on for more details regarding my printing woes! I
-
I have a Pc (Toshiba) and I have an Ipod touch and I want to sync all my songs on my ipod to my PC on itunes. When I tried syincing my ipod to my computer it only synced the purchased songs on to my PC. How do I purchase all of my songs ans not just
-
Installer states it has been installed but all I get is a black screen. What can I do?
I have an iMac and I installed the Adobe reader to open messages and information. The installer stated I was finished but all I get is a black screen when i open a page that need the Adobe reader. What can I do to fix this?
-
Hi, I have a report that are grouped by first name, middle name, and last name; and for each group there are about 6 fields. In pdf or web, the first name, middle name, and last name are grouped and appear on top of the 6 fields. However in Excel, be
-
Nokia C-3 faulty camera + video issues
i bought this phone 3 days back... the image quality is very bad ..too dark n grains (noise)..i suspect dat d camera is faulty.....also the phone hangs up on playin video's ...what should i do ?? is replacement possible ?? plz help ...