How to create a 404 page with LabVIEW web services?
Hi community,
I guess the question says it all... I have my site up and running but I'd like to create a default 404 page just in case the user mistypes something. How can I do that?
thank!
Solved!
Go to Solution.
1984 wrote:
My question is how can I configure LV to display a custom 404 message instead of just displaying the default?
Thanks for asking if i have problems publishing a page after I wrote in my first comment that I have my site up and running.
I believe he's telling you to use the same logic that was used to display the error, but instead of displaying an error, display your custom page. I asked if you had trouble publishing the page because I thought that Shane's clarification post was pretty self-explanatory and that was the only thing I could think that you would be having issues with. And I guess your site isn't truly up and running if you wanted to display a custom 404 page and was not able to do so. I would say it was still under construction.
Bill
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Similar Messages
-
How link my Facebook's page with my web site?
Hi!
How link my Facebook's page with my web site and have a preview of facebook's page on my website builted with iweb?
Regards
Thanks a lot.I think it's the other way around. Sharing a webpage on Facebook.
Here's how : http://myipad.atspace.com/size/Share.html
But if you want your FB page embedded in an iWeb page then paste the <iframe> code in a HTML Snippet.
<iframe src="http://url.to.file.html" frameborder="0" width="500" height="500" scrolling="no" allowTransparency="true"></iframe>
Where SRC="" is the URL of your Facebook page. Change the numbers for witdh and height to make the FB page fit your webpage. -
How to create Java client to use WCC web services
I'm trying to create a Java client to use web services available with Web Center Content.
I generated stubs using "cxf-codegen-plugin" and I wrote following code (very trivial):
DocInfo docInfo = null;
*try {*
docInfo = new DocInfo(new URL("http://vmxp43:16200/cs/idcplg?IdcService=GET_SOAP_WSDL_FILE&wsdlName=DocInfo&idcToken=1344065729220:B443F7C3DED844B594F32E0B3914E576&IsSoap=1"));
*} catch (MalformedURLException e) {*
e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
DocInfoSoap docInfoSoap = docInfo.getDocInfoSoap();
DocInfoByIDResult docInfoByIDResult = docInfoSoap.docInfoByID(new Integer(2), null);
At the moment I'm obtaining following error:
Exception in thread "main" javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://vmxp43:16200/cs/idcplg?IdcService=GET_SOAP_WSDL_FILE&wsdlName=DocInfo&idcToken=1344065729220:B443F7C3DED844B594F32E0B3914E576&IsSoap=1. It failed with:
* Invalid WSDL http://vmxp43:16200/cs/idcplg?IdcService=GET_SOAP_WSDL_FILE&wsdlName=DocInfo&idcToken=1344065729220:B443F7C3DED844B594F32E0B3914E576&IsSoap=1, expected {http://schemas.xmlsoap.org/wsdl/}definitions found html at (lineLine number = 3*
Column number = 30
System Id = http://vmxp43:16200/cs/idcplg?IdcService=GET_SOAP_WSDL_FILE&wsdlName=DocInfo&idcToken=1344065729220:B443F7C3DED844B594F32E0B3914E576&IsSoap=1
Public Id = null
Location Uri= http://vmxp43:16200/cs/idcplg?IdcService=GET_SOAP_WSDL_FILE&wsdlName=DocInfo&idcToken=1344065729220:B443F7C3DED844B594F32E0B3914E576&IsSoap=1
CharacterOffset = 133
* at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:151)*
* at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:127)*
* at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:254)*
* at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:217)*
* at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:165)*
* at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:93)*
* at javax.xml.ws.Service.<init>(Service.java:56)*
* at com.stellent.docinfo.DocInfo.<init>(DocInfo.java:39)*
* at eu.europa.efsa.virtual.library.services.client.TestDocInfo.main(TestDocInfo.java:23)*
*Caused by: javax.xml.stream.XMLStreamException: Invalid WSDL http://vmxp43:16200/cs/idcplg?IdcService=GET_SOAP_WSDL_FILE&wsdlName=DocInfo&idcToken=1344065729220:B443F7C3DED844B594F32E0B3914E576&IsSoap=1, expected {http://schemas.xmlsoap.org/wsdl/}definitions found html at (lineLine number = 3*
Column number = 30
System Id = http://vmxp43:16200/cs/idcplg?IdcService=GET_SOAP_WSDL_FILE&wsdlName=DocInfo&idcToken=1344065729220:B443F7C3DED844B594F32E0B3914E576&IsSoap=1
Public Id = null
Location Uri= http://vmxp43:16200/cs/idcplg?IdcService=GET_SOAP_WSDL_FILE&wsdlName=DocInfo&idcToken=1344065729220:B443F7C3DED844B594F32E0B3914E576&IsSoap=1
CharacterOffset = 133
* at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:120)*
* ... 7 more*
Please, any comment will be appreciated.Now I'm trying following code.
DocInfo docInfo = new DocInfo();
DocInfoSoap docInfoSoap = docInfo.getDocInfoSoap();
DocInfoByIDResult docInfoByIDResult = docInfoSoap.docInfoByID(new Integer(2), null);
The error I obtain is:
Exception in thread "main" com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:196)
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:168)
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:83)
at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:105)
at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:587)
at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:546)
at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:531)
at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:428)
at com.sun.xml.internal.ws.client.Stub.process(Stub.java:211)
at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:124)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:98)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)
at $Proxy28.docInfoByID(Unknown Source)
at eu.europa.efsa.virtual.library.services.client.TestDocInfo.main(TestDocInfo.java:20)
Is there a way to pass right username and password?
How can I understand which the user actually used? -
How to create a home page (with flash images) in Oracle Portal 10g
Hi,
I want to create a home page in Oracle Portal 10g using flash images.
How to create all those things ?
Weather it should be created in pages or pagegroups or HTML portlet / some other.
please help me.You can find in knowledge exchange a script to create an flash file item type. With this installed you can add a flash file to an item region on a page.
Grtz,
Dirk -
How to create advanvance search page style oracle web with adf?
i want create advance search page. it can add parameter at runtime (select attribute from drop downlist and click add) how to?
OK - so you want to be able to change the attribute you are searching on..In that case I'd probably do something like create a search form with all possible parameters..then using Expression Language, hid the ones that are not the selected value in a drop down list....
I'll have a quick play and see if I can get this working but thats the idea anyway.
regards
Grant Ronald
Oracle Product Management -
How to Create Master Detail Page with Query Region
Hi,
1. I have a requirement that i need to create a Master(Supplier) Detail(Supplier Site) Page with Query Region.
Eg. Supplier A in Australia has Supplier Sites X in Melbourne and Y in Sydney.
Supplier B in US has Supplier Sites C in New York and D in California.
I need to have Search, based on two fields Supplier Name and Country
Let us assume i am searching with Supplier Name A then the page should be in the below layout
Query Region
Supplier Name : A
Country:
Master
Supplier Name Country
A Australia
Detail
Supplier Site City
X Melbourne
Y Sydney
In detail VO it should allow me to add new sites which means i need to connect this VO to database to insert new records
I have gone few threads and understood that this can be achieved by creating SupplierVO, SupplierSiteVO and a ViewLink.
But when tried i don't know how can i relate my query region with the Suppleir Table(Header Reagin and Table Using Wizard) and Supplier Site Table(Header Region and Table Using Wizard) i am not sure if i am correct or not, please advise
2. Also i need to have a Open button in this page and if click the button it should navigate to some other page.
Please help me how can i achieve this.
- How to design my page with query region and master detail tables
- what is the AM and CO code need to be handled
- What is the code should i write in Open button to open new OAF page.
Thanks,
CSKHi,
This link will be useful for your requirement.
Master Detail Page using Hide Show and Advanced Table inside Advanced Table - OracleArea51.com
Let me know if you need more help in this.
Thanks and Regards,
Myvizhi -
How to CREATE a conditionnal page break in webi
Hello Mister and Misses
Can somebody explain me how i can create a conditional page break , because i want to limit the number of lines to 9 l ines in a bloc
each 9 lines I want to create a break page
example :
1 toto
2 titi
3 taa
4 tutu
5 papa
6 popo
7 tata
8 momo
9 mimi
(break)
10 mumu
17 maxe
18 fax
(break)
19..
My first column is not a dimension so, i can't manage to make a page break
How is it possible to tranform a measure to a dimension in order to make a break on each 9 lines
Thank youHi It is a dimension
I changed the type to a dimension type but it still doesn't work
My table has 2 sections
1 section (synthese line)
1 section (due date )
and I'd like to make a break page
synthese line 1------
due date- 1-----
1
2
3
4
5
due date- 2-----
1
due date- 3-----
1
2
3 - I D Like to make a break page here (so each 9 lines in the bloc)
4
5
6
due date- 4-----
synthese line 2------
thank you for your response -
How to create a crystal report using secured web service as a datasource?
Hi All Expert,
I having some challenges on how to create a report using secured web service as a datasource in crystal report designer (CR11 R3).
Secured Web Service including the certificate trusting, token authentication, header and/or body encryption. All web services running on https protocal.
Could you please suggest me on the solution?
Thank you and Best Regards,
CherrPlease re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551 -
How to create a generic method which invokes Web Service
Hi I have a question how to create Web Service client. In design mode I can't specify static url ?WSDL and process.
I found briliant method in apache cxf library.
for example
JaxWsDynamicClientFactory dcf = JaxWsDynamicClientFactory.newInstance();
Client clientA = dcf.createClient("http://soabpm-vm:8001/soa-infra/services/default/MailSender/mailsender_client_ep?WSDL");
Object[] resultA;
try{
resultA = clientA.invoke(new QName("http://xmlns.oracle.com/SynchDSBpel20/MailSender/MailSender", "process"), "@", "body", "topic");
}catch (Exception e){}
In my case I should create a method with params (urls ?WSDL, URI, operetion name, param1, praram2, param3)
Is there anything like CXF in ADF library's?This can be very easily done using a web service proxy (Select web services from the categories and web service proxy from the items).
In the "Create Web Service Proxy" wizard, make sure you select JAX-WS client style. JDeveloper will use the JAX-WS web service API and JAXB (Java Architecture for XML Binding) to generate all required classes and methods required to call a web services, binding Java method signatures to WSDL messages and operations.
Regards
Antonis -
How to use SAP Router String with SAP Web Services
Hi All,
I have developed an SAP Web Service and I'm using it from a vb.net dll by using web reference.
I want to use an SAP Router string when I try to call web service but I don't how to do it.Should the url of my proxy contain this router string in itself or is there any other attribute that I should configure for this purpose?
Please help!!!
MERAL
My code is as in the followings .
(And my SAP router string is like /H/111.11.111.11/H/)
Dim srvProxy As New PSUDamacanaProxy4.Z_SDB_RFC_GetList
srvProxy.Url = s"http://21.11.1.43:8000/sap/bc/soap/rfc"
srvProxy.Timeout = 10000
srvProxy.Credentials = New System.Net.NetworkCredential(strUserName, strPassword)
srvProxy.Z_SDB_RFC_GetList(p_bayi, durum, True, miktar, telefon, expMusteri, expReturnValue, expSiparis, expTeslimat, expAdSoyad)
musteriAdSoyad = expAdSoyad
ReturnValue = expReturnValue
srvProxy.Dispose()
srvProxy = NothingSince I posted this question, I have abandoned the notion of
auto-generated web services and embraced the good old FDS concept
where the RemoteObject meta-tag does all the conversion work for
me. We are now using the Granite DS package and it is working well
for us. I would love to consume web services, but it just isn't
worth the hassle when all you have to do with Granite (and FDS) is
cast your return objects to the proper object type.
BTW, since this posting, I have investigated competing Flex
app frameworks. After my research, I checked out the PureMVC
framework. Wow!! Cairngorm always left me with an uneasy feeling
and I guess I am not alone. Apparently, Cliff Hall felt the same
way. That is why he started the project. I like his approach alot
more than Cairngorm especially since it includes notifications
which allow me to broadcast my own app level events independent
from the AS Event framework. Check out PureMVC. For what it is
worth, it has my humble endorsement. Cliff was even gracious enough
to acknowledge the other Adobe Consulting guys for their work. Good
for you Cliff, I respect that. Check out a better way at
http://www.puremvc.org/ -
How to create a process instance from PAPI Web Services
Hi,
I use Jdev 11g to create ADF(PAPI web service) to create new instances of BPM processes running in BPM Standalone (10g). However, I do not know how to write the code.
Could any people paste the sample code for me?
Thank you very much!
papiWebServicePort.processCreateInstance(String, String, Holder<ArgumentBean>, Holder<instanceInfoBean>)import java.net.MalformedURLException;
import java.rmi.RemoteException;
import javax.xml.rpc.ServiceException;
import com.bea.albpm.PapiWebService.OperationException;
public class CreateInstances {
public static void main(String[] args) throws MalformedURLException, ServiceException, OperationException, RemoteException {
java.net.URL url = null;
org.apache.axis.EngineConfiguration config = null;
com.bea.albpm.PapiWebService.PapiWebServicePortBindingStub binding = null;
com.bea.albpm.PapiWebService.InstanceInfoBean value = null;
//String processId = "/Proceso1";
//String processId = "/ActividadesExternas";
String processId = "/PAPIWS";
String argumentsSetName = "BeginIn";
//Binding
//url = new java.net.URL("http", "localhost", 8686, "/papiws/PapiWebServiceEndpoint");
url = new java.net.URL("http", "localhost", 8585, "/papiws/PapiWebServiceEndpoint");
config = new org.apache.axis.configuration.FileProvider("client_deploy.wsdd");
binding = (com.bea.albpm.PapiWebService.PapiWebServicePortBindingStub) new com.bea.albpm.PapiWebService.PapiWebService_ServiceLocator(config).getPapiWebServicePort(url);
binding.setTimeout(60000);
//Arguments
com.bea.albpm.PapiWebService.ArgumentsBeanArgumentsEntry argumentsBeanArgumentsEntry[] = new com.bea.albpm.PapiWebService.ArgumentsBeanArgumentsEntry[1];
argumentsBeanArgumentsEntry[0] = new com.bea.albpm.PapiWebService.ArgumentsBeanArgumentsEntry();
argumentsBeanArgumentsEntry[0].setKey("entradaArg");
argumentsBeanArgumentsEntry[0].setValue("Instancia creada de forma externa mediante PAPI-WS 2.0");
com.bea.albpm.PapiWebService.ArgumentsBean argumentsBean = new com.bea.albpm.PapiWebService.ArgumentsBean(argumentsBeanArgumentsEntry);
com.bea.albpm.PapiWebService.holders.ArgumentsBeanHolder argumentsBeanHolder = new com.bea.albpm.PapiWebService.holders.ArgumentsBeanHolder(argumentsBean);
//Create instance
value = binding.processCreateInstance(processId, argumentsSetName, argumentsBeanHolder);
System.out.println("Created instance -> InstanceInfo.id = " + value.getId());
} -
How to implemtent a decision table with a web service?
Hi, all.
I tried to make a decision table to decide the loan rate, but the rate is dynamic.
So I want to ues a web service in my decision table. Is it possible?
If possible, how?
Thanks a lot.Hi Louis,
Yes that is right. What i mean is - you cannot import your wsdl and call your web service from a Decision Table. There is no direct support in BRM to call web services. But there is a workaround to call web services from BRM by writing rules on java class which internally calls web service. This can be done by creating a client for the web service and then calling this client in your Decision Table.
Hope this helps.
Best Regards,
Arti -
How to: create a Login page with data tags
hi, how could i create a jsp login page using the data tags.. and how to associate it with the other jsp pages that should be displayed in case of the correct insertion of the password .
http://technet.oracle.com:89/ubb/Forum2/HTML/006025.html
-
[newbie] How to create a home page with no bottom
Hi, I'm new to Flex and ActionScript. I'm studying a book
both on Flex and ActionScript and I'm trying to get started with my
website. I was able to create the skeleton of it, with an
ApplicationControlBar at the top, a banner component to the right,
etc
Now I wanted the central part of my page to be bottomless,
meaning that I could add content indefinitely and the user could
scroll the content with the mouse wheel. However, the only way I
found so far is to use a text area; the problem is that the
textarea is in the central part of the page, and when the text goes
beyond the height, scroll bars appear on the textarea, which is
horrible. I'd like a similar style as
http://www.facebook.com/home.php
Can you see that the page is 'scrollable', with the content
in the centre but the scroll bars only at the side? How could I
achieve the same format with Flex 3?
Thanks.Hi,
Did you try setting textarea's verticalScrollPolicy to
ScrollPolicy.NONE?
The textfield within textarea should handle mouse wheel
scroll now without the scrollbars appearing next to the text area.
If you need to programmatically scroll, just change the
verticalScrollPosition. -
How to create a business card with Pages?
I have created a card using the model, but i don't know how to fill in the page with ten cards. It,s impossible to copy and paste.
What to do to have the same model on ten cards on the same page?Why do you find it impossible to Copy and Paste?
Copy and paste is the method but you can make it easier on you by first group all objects. Arrange > Group
There are several ways to copy and paste
1. the "normal" one
2. Cmd + D to duplicate
3. Alt/Opt + drag
When you have two card select both and do the copy and paste again and you have 4 cards. Repeat this and you have 8 cards. Add two more cards and you are done.
Maybe you are looking for
-
At the moment I can use my apple Id on my iPod touch to connect to iCloud and IMessage and FaceTime but it doesn't work on App Store & iTunes just on iPod Face to an error: can not connect to iTunes Store. (Setting... itunes & app store)What's wrong
-
Can no longer transfer .wav files to Zen Vision:M in Windows Media Player
Ok, first off let me state my goal so that if anyone knows a way for me to accomplish it without WMP that would be ideal: I'm trying to copy lossless (wav) music files to my Zen Vision M including album art and all the information the player needs fo
-
HOW TO CONSTRUCT THE URL WITH INTRADOCUMENT LINKS (#...)?
I have a url and i want to access or construct the full URL in jsp without losing the # links in the url. If I make a call to the URL lets say using the below mentioned way. when I issue the request.get... Methods to construct the URL inside the JSP
-
How to eliminate joins to improve performance
i have a query: from D236OT00.ASN1_COMP_NB CP LEFT OUTER JOIN D236OT00.NB01_COMP_DEP_NB CD on(CP.SRVC_LOC_ID = CD.CHLD_SRVC_LOC_ID and CP.ORD_ITEM_ID = CD.CHLD_ORD_ITEM_ID and CP.PRMRY_COMP_CD = CD.CHLD_PRMRY_COMP_CD
-
Attaching Javascript function to Buttons in XML forms
Hi , Can anyone tell me how can we attach Javascript function or code in XML forms ? Cheers Nitesh