Namespace problem when using B1iSN V8.8 web service on B1 8.8 objects
Dear all
Investigating web services in B1iSN V8.8, we are trying to run, as a test, the tutorial example (thanks to Maria Trinidad) detailed in:
Exposing and Hosting WebServices for SAP Business One with B1iSN
ArticleTrinidad Martinez (Yatsea Li)SAP Contribution29 Sep 2010 PDF2 MB
When we choose (strictly following to the tutorial) the
/com.sap.b1i.datasync.repository/ObjectType.xsd/B1.8.8_BusinessPartners.xsd
for the of the custom object type,
then the WSDL generation fails: Prefix 'nspf1' used in attribute 'nspf1:force' is not declared anywhere
but when we choose for the schema:
/com.sap.b1i.datasync.repository/ObjectType.xsd/B1.2007_BusinessPartners.xsd
then the WSDL generation succeeds.
Any idea ?
Thanks.
Christophe
Dear all
Investigating web services in B1iSN V8.8, we are trying to run, as a test, the tutorial example (thanks to Maria Trinidad) detailed in:
Exposing and Hosting WebServices for SAP Business One with B1iSN
ArticleTrinidad Martinez (Yatsea Li)SAP Contribution29 Sep 2010 PDF2 MB
When we choose (strictly following to the tutorial) the
/com.sap.b1i.datasync.repository/ObjectType.xsd/B1.8.8_BusinessPartners.xsd
for the of the custom object type,
then the WSDL generation fails: Prefix 'nspf1' used in attribute 'nspf1:force' is not declared anywhere
but when we choose for the schema:
/com.sap.b1i.datasync.repository/ObjectType.xsd/B1.2007_BusinessPartners.xsd
then the WSDL generation succeeds.
Any idea ?
Thanks.
Christophe
Similar Messages
-
Error when using byte array in web service model interface
Hello everybody,
I'm using a web service model in my web dynpro application. The web service requires a byte array as import parameter.
When starting the web dynpro application the following error occurs:
com.sap.tc.webdynpro.services.exceptions.WDTypeNotFoundException: type java:byte not found
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getDataType(DataTypeBroker.java:216)
I'm using byte arrays several times in my application --> no problem. So why does the error say "byte not found" when using the web service?
Thanks for your help!
regards
ChristianHi,
maybe this is the problem. The type is byte and not binary.
But I have the same problem as mentioned in the other thread: I can't change the type.
The type in the WSDL of my web service is "base64binary". Is there maybe a possibility to import a jar-file for this type?
Christian -
Error 2170 when using Xcelsius with a web service
Hi,
I have built a small dashboard that gets data from a web service. When previewing it in XCelsius itself, the data is picked up without problem, but when exporting the file to PPT, Word or PDF, I get Error 2170 which is a connection error.
The Webservice I use a self-built one from a function module in an ECC6.0 system.
In the web (and her in SDN) I have found two solutions:
1) Flash settings. For Flash versions above 9.0, one has to allow connection to external programs. I have tried that but am not sure if I should allow connection for the PPT or PDF or for the .swf file "inside" (which I dont know the name of).
2) Server side. A crossdomain.xml file should be added to the root of the webserver. What folder would that be in the case of an ERP system and could I do that? Additionally: can the be the reason to my problem when the webservice works fine as long as called from within XCelsius?
I would be very grateful for ideas...
ThorbenThorben,
Here is what you need to do
-->Export your visualization to swf
-->Run the Swf, right click on visualization and got to settings.
OR
Click
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
In 3rd Tab (Global Security Settings)
--> Check box "Always Allow"
--> In the Drop down (Edit location... select Add Location
-->Browse the swf file
That is it...now reopen the .swf file, it should not throw error.
Hope this helps
-Anil -
Problem when WSDL changes for a Web Service Reference
Hi
I have a Web Service Reference that is accessed by several reports and processes within APEX.
The problem that I am experiencing is that, when the Web Service changes, as it has been doing quite often due to development, I can find no way of updating the Web Service Reference in order that the additional input and output parameters become available to the associated reports and processes. The only solution that I have found is to recreate the Web Service Reference going through the same wizard process and giving the Web Service Reference the same name as previously.
However when the Web Service Reference has been recreated all reports and processes that accessed the old web service have blank values for source, input and output parameters. This means that I have to build the reports and processes again from scratch.
Does anyone know of a better method of “refreshing” a web service in order to expose any new inputs or outputs defined with the WSDL without breaking existing functionality?
Regards
IanHi,
My solution is simple: add new service reference, then new methods can be atached to the old service refernce with the followind block
begin
update WWV_FLOW_WS_OPERATIONS fo
set
FO.WS_ID = (select ws.ID from WWV_FLOW_SHARED_WEB_SERVICES ws where ws.FLOW_ID = 117 and ws.NAME= 'WebHINSSvc')
where
FO.NAME not in
(select
FOO.NAME
from WWV_FLOW_WS_OPERATIONS foo
where FOO.WS_ID = (select ws.ID from WWV_FLOW_SHARED_WEB_SERVICES ws where ws.FLOW_ID = 117 and ws.NAME= 'WebHINSSvc')
and FO.WS_ID = (select ws.ID from WWV_FLOW_SHARED_WEB_SERVICES ws where ws.FLOW_ID = 117 and ws.NAME= 'WebHINSSvcNEW')
delete from WWV_FLOW_SHARED_WEB_SERVICES ws where ws.FLOW_ID = 117 and ws.NAME= 'WebHINSSvcNEW';
end;
If you change only params it wont help. Ypu have to recreate the code that breaks again.
I hope this helps. -
"Connection refused" when using Java client for Web Service
I deployed a web service to Weblogic Server 7.0 running on Windows 2000. I can
use IE browser to see its WSDL perfectly but when I run the Java client, the proxy
method call generates the following error:
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:426)
at java.net.Socket.connect(Socket.java:376)
at java.net.Socket.<init>(Socket.java:291)
at java.net.Socket.<init>(Socket.java:119)
at weblogic.webservice.binding.soap.HttpClientBinding.createSocket(HttpC
lientBinding.java:412)
at weblogic.webservice.binding.soap.HttpClientBinding.createSocket(HttpC
lientBinding.java:390)
at weblogic.webservice.binding.soap.HttpClientBinding.send(HttpClientBin
ding.java:246)
at weblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHa
ndler.java:34)
at weblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java
:131)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
a:417)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
a:359)
at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
181)
at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
207)
at CenterWSClient.main(CenterWSClient.java:73)
javax.xml.rpc.JAXRPCException: Failed to send request:java.net.ConnectException:
Connection refused: connect
at weblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHa
ndler.java:37)
at weblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java
:131)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
a:417)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
a:359)
at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
181)
at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
207)
at CenterWSClient.main(CenterWSClient.java:73)
Exception in handler's handleRequest().
java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Conn
ection refused: connect; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Connection refused: connect
at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
186)
at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
207)
at CenterWSClient.main(CenterWSClient.java:73)
Caused by: javax.xml.rpc.soap.SOAPFaultException: Connection refused: connect
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
a:459)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
a:359)
at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
181)In your client program, when you do "new XXX_Impl(String wsdlurl)", did you
pass in the wsdl you were hitting with browser?
-Neal
"Ray Yan" <[email protected]> wrote in message
news:[email protected]...
>
I deployed a web service to Weblogic Server 7.0 running on Windows 2000. Ican
use IE browser to see its WSDL perfectly but when I run the Java client,the proxy
method call generates the following error:
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
atjava.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:426)
at java.net.Socket.connect(Socket.java:376)
at java.net.Socket.<init>(Socket.java:291)
at java.net.Socket.<init>(Socket.java:119)
atweblogic.webservice.binding.soap.HttpClientBinding.createSocket(HttpC
lientBinding.java:412)
atweblogic.webservice.binding.soap.HttpClientBinding.createSocket(HttpC
lientBinding.java:390)
atweblogic.webservice.binding.soap.HttpClientBinding.send(HttpClientBin
ding.java:246)
atweblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHa
ndler.java:34)
atweblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java
:131)
atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
a:417)
atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
a:359)
atweblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
181)
atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
207)
at CenterWSClient.main(CenterWSClient.java:73)
javax.xml.rpc.JAXRPCException: Failed to sendrequest:java.net.ConnectException:
Connection refused: connect
atweblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHa
ndler.java:37)
atweblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java
:131)
atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
a:417)
atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
a:359)
atweblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
181)
atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
207)
at CenterWSClient.main(CenterWSClient.java:73)
Exception in handler's handleRequest().
java.rmi.RemoteException: SOAPFault:javax.xml.rpc.soap.SOAPFaultException: Conn
ection refused: connect; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Connection refused: connect
atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
186)
atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
207)
at CenterWSClient.main(CenterWSClient.java:73)
Caused by: javax.xml.rpc.soap.SOAPFaultException: Connection refused:connect
atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
a:459)
atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
a:359)
atweblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
181) -
Relatiive Path problem when using JSP:include in web portlet
Hi
I am using Oracle Portal 9.0.2, and thus OC4J as the J2EE platform.
I have created a JSP web portlet that is supposed to inlude a specific static html file, which name is passed to it using a portlet parameter. It works, but I had to create a symbolic link from the applicable J2EE applications's htdocs directory in order to access the content:
/j2ee/OC4J_Portal/applications/<application>/htdocs/<portlet>/content/
where /content/ is a symbolic link to another directory altogether.
I can then access the content from within the portlet with a JSP include tag that looks like :
docPath = "/htdocs/<portlet>/html/"+doc_path;
%>
<br>Include:
<jsp:include page="<%=docPath%>" flush="true"/>
I would like to access the content using the JSP include without having to use the symbolic link. Is there a way to do this. I tried using an Apache alias, but that did not work.
Regards
HarryHi
Thanx
In the end we build up a static URL to the document to be included using:
String contentLocation="content/";
docPath = contentLocation+getAdditionalDocPath();;
out.println("docPath="+docPath);
String docPathAndName = portletRequest.getParameter("doc_path");
%>
<!--
This java script function calls the display content page with the
page parameter doc_path (which is in return passes it to the display
content portlet) in order to retrieve and display specific document
with a JSP:include tag
-->
<script language="JavaScript">
function generateSectionPath(docName) {
this.location="http://<%=portletRequest.getServerName()%>:<%=portletRequest.getServerPort()%>/pls/portal/url/page/<%=getPageGroup()%>/content?doc_path="+"<%=docPath%>"+docName;
<script language="JavaScript">
function generateRelativePath(docName) {
this.location="http://<%=portletRequest.getServerName()%>:<%=portletRequest.getServerPort()%>/pls/portal/url/page/<%=getPageGroup()%>/content?doc_path="+docName;
</script>
<br>Include:
<%
if (portletRequest.getParameter("doc_path") == null) {
out.println("Error - no doc path specified");
} else {
try { %>
<jsp:include page="<%=docPathAndName%>" flush="true"/>
<% } catch (Exception e) {
out.println("Error retrieving document:"+e.toString());
} // end if
%>
Each link from one included HTML file to another becomes a JS function that points the browser to the portal page that includes the portlet that includes thwe JSP that has the include tag to include the html document that is to be displayed.
The current relative path the the html document (from a predefined root in the file system that is symbolically linked to the same directory as where the including JSP lives) is stored in a session variable, and appended to the document name that is passed to the page.
If a full document path, as opposed to just the name, is stored, that no appending is done. However, the path is stripped out and stored in a session variable.
Ths thing is, sometimes a document name, and sometimes a path is passed to the page. Therefore the requirement to know the path when it is not available. A name only will always be passed subsequent to a request for a document with the full path specified, therefore the session variable mechanism works.
Thanx for the input
Harry -
We use IE9.
I enter in https://gwserver.
Compose New mail (in Plain Text mode) with body:
Line-1
Line-2
Line-3
And send this mail , for example to itself.
the received letter will look like:
Line-1Line-2Line-3
Someone has the same problem?
SergAre you guys still on the shipping code of GW 12? Novell had a fix for this within a couple weeks of GW 12 being released from what I remember. Open an SR and get the latest code.
Or simply tell your users to user HTML.
Todd Bowman
Todd Bowman
Senior Network Analyst
University of Minnesota Physicians
612-884-0744
[email protected]
>>>
From: MarkDissington<[email protected]>
To:novell.support.groupwise.2012.web-access
Date: 5/24/2012 6:46 AM
Subject: Re: Problem when using IE9
skoltogyan;2197344 Wrote:
> The solution is?
>
> Serg
I would guess don't use IE9 until a fix is released? :-)
M.
MarkDissington
MarkDissington's Profile: http://forums.novell.com/member.php?userid=27611
View this thread: http://forums.novell.com/showthread.php?t=455634 -
Hello all, can somebody help me?
I have encountered a problem when using Flash Player
V9.0.115. Your help would be greatly appreciated.
The problem described as follows:
1. The flash file with sound works well before uploaded to
website. The audio lost when uploaded to the website(There is no
problem with the flash file size). I have uploaded the flash file
to website for you to test. Please go to
http://www.sameshow.com/democreator/create
a new site.swf and kindly check with it.
2. When we open the flash movie in IE with Flash player
V9.0.47 and previous versions (Flash9d.ocx), the flash movie with
sound works well.
3. When we upgrade the flash player to the latest version
V9.0.115 (Flash9e.ocx), the video works well, but the sound just
can play several seconds and then stop.
4. On Flash Player ocx V9.0.115. If we publish the flash
movie on web with 24fps, the sound just can work several seconds
and then stop, the problem is the same if we use the
TShockWaveFlash control to play the flash movie.
5. On Flash Player ocx V9.0.115. If we publish the flash
movie with 12fps, the sound works well but the quality is really
very poor. It seems that the sound plays shorter with more frames
per second. But the flash file works well with the Flash Player
V9.0.47 and previous versions (Flash9d.ocx).
Can somebody help me to figure it out? Thanks in advance!
Regards,
Sabrina
[email protected]Hello Darren, I really appreciate your response. My mail is
[email protected] I have uploaded the flash file to our
ftp,
http://www.sameshow.com/democreator/create
a new site.swf. And also I compressed the original file to a
zip file and uploaded to our ftp at
http://download.sameshow.com/aff/create.zip,
please kindly check! When we playing this flash file on FlashPlayer
V9.0.47 and previous, the audio works well. But the audio just can
play several seconds and then stop when I playing it on FlashPlayer
V9.0.115. The garbled audio makes us very upset. Your help would be
great appreciated!
Sabrina Fu -
When using the internet, my web browser window goes blank
It does this quite often:
When using the internet, the web browser screen will go completly blank after 2 secs of loading.
I will see the page, then after two seconds it is gone, and the web browser is completely white.
Once, one page or tab does it, all the others start doing it.
It is very frustrating, and happens quite often.
Does this happen to anyone else, and does anyone know why or how to fix it??The next time you have the problem, note the exact times when it starts and ends: hour, minute, second.
If you have more than one user account, these instructions must be carried out as an administrator.
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ If you’re running OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
Scroll back in the log to the time you noted above. Post any messages timestamped during that interval – the text, please, not a screenshot.
Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting. -
Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help on how to set up messages on each device separately and to start using messages app on each device independently. Thanks
search google for "iphone remove picture from contact"
-
ORA-01403: no data found Problem when using AUTOMATIC ROW FETCH to populate
ORA-01403: no data found Problem when using AUTOMATIC ROW FETCH to populate a form.
1) Created a FORM on EMP using the wizards. This creates an AUTOMATIC ROW FETCH
TABLE NAME - EMP
Item Containing PRIMARY KEY - P2099_EMPNO
Primary key column - EMPNO
By default the automatic fetch has a ‘Process Error Message’ of ‘Unable to fetch row.’
2) Created a HTML region. Within this region add
text item P2099_FIND_EMPNO
Button GET_EMP to submit
Branch Modified the conditional branch created during button creation to set P2099_EMPNO with &P2099_FIND_EMPNO.
If I then run the page, enter an existing employee number into P2099_EMPNO and press the GET_EMP button the form is populated correctly. But if I enter an employee that does not exist then I get the oracle error ORA-01403: no data found and no form displayed but a message at the top of the page ‘Action Processed’.I was expecting a blank form to be displayed with the message ‘Unable to fetch row.’
I can work around this by making the automated fetch conditional so that it checks the row exists first. Modify the Fetch row from EMP automated fetch so that it is conditional
EXIST (SQL query returns at least one row)
select 'x'
from EMP
where EMPNO = :P2099_EMPNO
But this means that when the employee exists I must be fetching from the DB twice, once for the condition and then again for the actual row fetch.
Rather than the above work around is there something I can change so I don’t get the Oracle error? I’m now wondering if the automatic row fetch is only supposed to be used when linking a report to a form and that I should be writing the fetch process manually. The reason I haven’t at the moment is I’m trying to stick with the automatic wizard generation as much as I can.
Any ideas?
Thanks PeteHi Mike,
I've tried doing that but it doesn't seem to make any difference. If I turn debug on it shows below.
0.05: Computation point: AFTER_HEADER
0.05: Processing point: AFTER_HEADER
0.05: ...Process "Fetch Row from EMP": DML_FETCH_ROW (AFTER_HEADER) F|#OWNER#:EMP:P2099_EMPNO:EMPNO
0.05: Show ERROR page...
0.05: Performing rollback...
0.05: Processing point: AFTER_ERROR_HEADER
I don't really wan't the error page, either nothing with the form not being populated or a message at the top of the page.
Thanks Pete -
Problem when using About Operator in Contains Query
Hi,
I'm new to Oracle and this forums too. I have a problem when using about operator in contains query.
I create a table with some records and then create a context index on 'name' column.
CREATE TABLE my_items (
id NUMBER(10) NOT NULL,
name VARCHAR2(200) NOT NULL,
description VARCHAR2(4000) NOT NULL,
price NUMBER(7,2) NOT NULL
ALTER TABLE my_items ADD (
CONSTRAINT my_items_pk PRIMARY KEY (id)
CREATE SEQUENCE my_items_seq;
INSERT INTO my_items VALUES(my_items_seq.nextval, 'Car', 'Car description', 1);
INSERT INTO my_items VALUES(my_items_seq.nextval, 'Train', 'Train description', 2);
INSERT INTO my_items VALUES(my_items_seq.nextval, 'Japan', 'Japan description', 3);
INSERT INTO my_items VALUES(my_items_seq.nextval, 'China', 'China description', 4);
COMMIT;
EXEC ctx_ddl.create_preference('english_lexer','basic_lexer');
EXEC ctx_ddl.set_attribute('english_lexer','index_themes','yes');
EXEC ctx_ddl.set_attribute('english_lexer','theme_language','english');
CREATE INDEX my_items_name_idx ON my_items(name) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS('lexer english_lexer');
EXEC ctx_ddl.sync_index('my_items_name_idx');Then I perform contains query to retrieve record :
SELECT count(*) FROM my_items WHERE contains(name, 'Japan', 1) > 0;
COUNT(*)
1
SELECT count(*) FROM my_items WHERE contains(name, 'about(Japan)', 1) > 0;
COUNT(*)
1But the problem is when I using ABOUT operator like in Oracle's English Knowledge Base Category Hierarchy it return 0
SELECT count(*) FROM my_items WHERE contains(name, 'about(Asia)', 1) > 0;
COUNT(*)
0
SELECT count(*) FROM my_items WHERE contains(name, 'about(transportation)', 1) > 0;
COUNT(*)
0I can't figure out what 's wrong in my query or in my index.
Any help will be appreciated.
Thanks,
Hieu Nguyen
Edited by: user2944391 on Jul 10, 2009 3:25 AMHello (and welcome),
You'd be best asking this question in the Oracle Text forum, here:
Text
And by the way, it will help others to analyse if you put {noformat}{noformat} (lowercase code in curly brackets) before and after your code snippets.
Good luck! -
When using the built in web server, is there a way to specify a different
When using the built in web server, is there a way to specify a different error handler when you try to access a NON .CFM file? Right now I get the standard:
java.io.FileNotFoundException: filename.ext
Is there any setting to override this and direct the message to your own .cfm template? The missing template handler in the CF Admin work only for .cfm files.
ThxThe in-built web server for ColdFusion 8 is JRun. I am on ColdFusion 10, however, and so cannot offer hands-on advice. (CF10 replaced JRun with Tomcat.)
My guess is that you have to modify the file {CF_ROOT}/WEB-INF/web.xml. Don't forget to create a back-up first!
You may then proceed as follows.
1) In the ColdFusion root (CF_ROOT), create the file myCustomFileNotFound.cfm. Give it some content, like
My custom File Not Found page. Current time: <cfoutput>#now()#</cfoutput>
2) Open the file {CF_ROOT}/WEB-INF/web.xml in a text editor. Add the following error-handling specification just before the end tag </web-app>:
<error-page>
<error-code>404</error-code>
<location>/myCustomFileNotFound.cfm</location>
</error-page>
Save the file web.xml.
3) Restart ColdFusion. Test by browsing to a URL requesting filename.ext -
Error "Deserialisation failed" when trying to use BAPI via a web service
I created a web service in BW with the help from the wizard WS_WZD_START. The web service contains
(among others) the RFC BAPI_ODSO_READ_DATA_UC.
The web service runs OK & can be used from the SAP Web Services Navigator.
Now when i try to use the web service from Delphi i get
an error: "Deserialisation failed" (SimpleTransformationFault) "ODSOBJECT erwartet".
The ODSOBJECT parameter is there to be sure.
I saw the same error before in this forum but found no real solution there. I am using BW 6.40 & SP 12.
XML sent:
<?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:BAPI_ODSO_READ_DATA_UC xmlns:ns1='urn:sap-com:document:sap:rfc:functions'>
<DATALAYOUT></DATALAYOUT><INFOOBJECTLIST><item>
<INFOOBJECT>/CIVGM/NUM</INFOOBJECT></item></INFOOBJECTLIST>
<MAXROWS>2</MAXROWS><ODSOBJECT>/CIVGM/BPLO001</ODSOBJECT><ORDERBY></ORDERBY>
<RESULTDATA></RESULTDATA><SELECTIONCRITERIA></SELECTIONCRITERIA><UNICODE>N</UNICODE>
</ns1:BAPI_ODSO_READ_DATA_UC></SOAP-ENV:Body></SOAP-ENV:Envelope>
Answer:
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Body><soap-env:Fault><faultcode>soap-env:Client</faultcode>
<faultstring xml:lang="en">Deserialisation failed</faultstring>
<detail><n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates">
<MainName>/1BCDWB/WSS0050825153239449000</MainName>
<ProgName>/1BCDWB/WSS0050825153239449000</ProgName>
<Line>73 </Line>
<Valid>X</Valid>
<MatchFault>
<DescriptionText>Element 'ODSOBJECT' erwartet</DescriptionText>
<TokenType>S</TokenType>
<TokenName>CODEPAGE</TokenName>
<TokenNameSpace>urn:sap-com:document:sap:rfc:functions</TokenNameSpace>
<TokenValue></TokenValue>
</MatchFault><Caller>
<Class>CL_SRG_RFC_PROXY_CONTEXT</Class>
<Method>IF_SXML_PART~DECODE</Method>
<Positions>1 </Positions>
</Caller></n0:SimpleTransformationFault>
</detail></soap-env:Fault>
</soap-env:Body></soap-env:Envelope>
The same error occurs when I take the exact XML that was sent from Web Services Navigator (the XML that worked) and send that from Delphi.
What could be wrong?Hi Simon,
Other thing you can do is compare the HTTP requests (including header) from both Delphi and XMLSPY. I suspect if the SOAP message is same in both case the difference might be in the header. But one thing is certain, WAS can not respond differently for same request, don't you think so ?
Cheers,
Sanjeev -
How stop PS6 from removing the DPI value from an image when using "save for the web"?
How stop PS6 from removing the DPI-value from an image when using "save for the web"?
Example:
- Open a tif image, that contains a dpi value (resolution).
- Use the splice tool in PS6.
- Export the slices with "Save for web", as gif-files.
Then the dpi value is removed, the gif files has no dpi value (it's empty).
How can we stop PS6 from removing the dpi value when using "save for web"?
OR:
When using the slice tool, how can we save the sliced pieces without PS removing the dpi value?you can make your art go a little bit over the bounds. or you can make sure your artboart and art edges align to pixels
Maybe you are looking for
-
Missing parts for Process orders
Hi Experts, We are trying to find out the Transaction to faciltate the Missing parts list for the process order even after the order has been completed having the Status TECO, CLSD. This is to understand whether proper enough materials are consumed f
-
Problems with Time machine caused by removing PKCS11.log?
I haven't yet found a solution to my Time Machine no longer backing up: "while an error occurred while copying files to the backup disk" I requested help before, but so far nobody could help me solve this problem! I noticed that I removed, in a file
-
Stop Safari from rendering PDF natively
According to this Adobe article, Safari 5.1 renders PDF documents natively. I have Safari 5.1 (7534.48.3) on Lion 10.7.1. I am tired of Safari opeing PDF's automatically for me. I would like to download PDF's when I left-click on links for PDF's. (1)
-
HT201320 The purchase of the game.
I'm going to ask about. Buy in-game money. I find that (Your Purchase Could Not Be Completed. For assistance, contact iTunes Support at www.apple.com/support/itunes/ww/. ") How I fix or support staff. Thank you
-
When I try to use the Auto Blend feature of Photoshop CS5 it does not come up highlighted and I can't use it! How do I activate this feature? It is found under the edit menu. Also when I tried to update, a message comes up to close Photoshop .exec. W