WebAS 640 DO_INIT always called
Hi Guys,
I got a little problem with an MVC-BSP application. The application consists of one maincontroller and several subcontrollers. When being started Do_Init is being called on all of them, which is fine so far.
When I now click a link, or press a button, which forces a submit of my view, DO_INIT gets called again on my maincontroller. This causes a lot of trouble, but only on an WebAS 640 SP 15.
On an WebAS 620 SP 52 the same application works fine.
Do I have to set any new options or something like that?
Thanks for help
Florian
Hi,
are you sure that you set the sessionhandling to 'stateful' (for the application and the controller)?
Best regards,
Nils Kloth
Similar Messages
-
Error when creatibg a web service in SAP r/3 ecc 5, WebAS 640
We are trying to expose a BAPI (BAPI_CUSTOMER_GETSALESAREAS) as a web service on SAP R/3 ECC 5. web AS 640.
We created the virtual interface (Z_VI_CUSTOMER_BAPI)and the web service definition (Z_WSD_CUSTOMER_BAPI)from SE80. When we try to release the web service definition from WSCONFIG, we get an error saying:
"Error when creating web service(Web Service Definition Z_WSD_CUSTOMER_BAPI for SOAP application unbekannt)"
Please help...
Thanks,
ShaileshHi.
I think I must clarify my question.
The Web Service is not called inside SAP R/3 but externally. For testing pourpose I actually use WS Navigator and XMLSpy.
The method inside ABAP Server Proxy which is exposed as a Web Server in SAP R/3 system is the following. Note that the Web Service is Asynchronous.
METHOD zpi_ii_test_ws_4_in~test_ws_4_in.
DATA: lwa_zpi_test TYPE zpi_test.
lwa_zpi_test-mandt = input-mt_test-record-client.
lwa_zpi_test-bukrs = input-mt_test-record-company.
lwa_zpi_test-belnr = input-mt_test-record-document.
lwa_zpi_test-gjahr = input-mt_test-record-year.
INSERT zpi_test FROM lwa_zpi_test.
COMMIT WORK.
ENDMETHOD.
I have created another Web Service in SAP R/3 which is Synchronous, and the error does not occurs. The following is the method inside ABAP Server Proxy which is exposed as a Web Service in SAP R/3 system.
METHOD zpi_ii_test_ws_3_in~test_ws_3_in.
DATA: l_bukrs TYPE bukrs,
l_belnr TYPE belnr_d,
l_gjahr TYPE gjahr,
lr_belnr TYPE RANGE OF belnr_d,
lwa_zpi_test TYPE zpi_test.
l_bukrs = input-mt_req-msg+0(4).
l_gjahr = input-mt_req-msg+4(4).
SELECT MAX( belnr ) INTO l_belnr
FROM zpi_test
WHERE bukrs EQ l_bukrs
AND belnr IN lr_belnr
AND gjahr EQ l_gjahr.
IF l_belnr IS INITIAL.
l_belnr = '4700000000'.
ELSE.
l_belnr = l_belnr + 1.
ENDIF.
lwa_zpi_test-mandt = sy-mandt.
lwa_zpi_test-bukrs = l_bukrs.
lwa_zpi_test-belnr = l_belnr.
lwa_zpi_test-gjahr = l_gjahr.
INSERT zpi_test FROM lwa_zpi_test.
COMMIT WORK.
output-mt_resp-msg = l_belnr.
ENDMETHOD.
I hope to have clarified my question.
Rafael Rojas. -
JCO difference between SAP J2ee 620 and Webas 640 for Internet Sales
Does anyone have some information on how Internet Sales manages JCO calls to R/3 or CRM on WebAS 640?
Till J2EE 620 the sapjco.jar file directory had to be in classpath along with the relevant dlls in WinNt directory.
WebAs 640 Java installation doesn't mandate any such steps.
How does this work? The jar probably is in the cluster/server/bin/ext folder but what about the native libraries? How are they loaded.
I am having problems making RFC calls to R/3 from a web application deployed on SAP WebAS 640.
This is not the internet sales application but a general J2EE application and I was wondering if i could use the same approach as used by Internet Sales to load the native libraries.
Any help would be appreciated.
Bharat.Vivek,
We have the WebAs 640 Java system running on a AIX server. I placed the following folder under classpath
/usr/sap/<SAPSID>/JC**/j2ee/cluster/server/bin/ext/com.sap.mw.jco/sapjrfc.jar
The error thrown is
JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [Can't find library sapjcorfc (libsapjcorfc.a or .so) in sun.boot.library.path or java.library.path
sun.boot.library.path=/usr/java14_64/jre/bin
java.library.path=/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/usr/sap/RID/JC15/j2ee/os_libs:/usr/sap/RID/SYS/exe/run:/home/db2_mgr/sqllib/lib:/home/db2_mgr/sqllib/lib:/usr/lib:/usr/sap/RID/JC15/j2ee/os_libs:/usr/sap/RID/JC15/j2ee/os_libs:/usr/lib:/lib:/usr/sap/RID/SYS/exe/run:/home/db2_mgr/sqllib/lib:/home/db2_mgr/sqllib/lib]. java.library.path [/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/usr/sap/RID/JC15/j2ee/os_libs:/usr/sap/RID/SYS/exe/run:/home/db2_mgr/sqllib/lib:/home/db2_mgr/sqllib/lib:/usr/lib:/usr/sap/RID/JC15/j2ee/os_libs:/usr/sap/RID/JC15/j2ee/os_libs:/usr/lib:/lib:/usr/sap/RID/SYS/exe/run:/home/db2_mgr/sqllib/lib:/home/db2_mgr/sqllib/lib]
The problem is a search on libsapjcorfc.* only return dll files and no .so or .a files.
Wondering how ISA loads the native libraries on AIX!
Thx,
Bharat. -
The Web Dynpro application was called up with the wrong URL parameters
Hi all,
I am using the systems below:
ERP STACK :16
EHP : 4
EHP SP Stack :4
EA-HR * : 604(SP12)
SAP-HR * :604(SP12)
XSS JAVA components : SAP ESS 603 SP05
SAP MSS 600 SP16
PCUI_GP 603 SP05
Business Package : BP ERP05 ESS 1.41 SP04
BP ERP05 MSS 1.41 SP04
BP ERP05 COMMON PARTS 1.41 SP04
I am getting below error after clicking on the appraisal document:
App. Called Up Incorrectly
The Web Dynpro application was called up with the wrong URL parameters.
Note
Enter the URL parameters and their use.
You can find more information on the functions that you can perform in the catalog for appraisal templates in the Implementation Guide (IMG) for Objective Setting and Appraisals under Edit Forms.
I already applied the below notes also:
1468466 Performance Management Launchpad Configuration
1463821 Performance Management Portal Configuration
1416756 OBN Configuration in Performance Management
1408243 Configuration for object-based navigation
Plz advise me??
Thanks,
Anumitcan you paste the exact error. also you can take a HTTP trace and see which resourse or UWL is being launched!
-
ABAP WebAS 640 Consume Web Service
I am trying to consume a .Net Web Service from a WebAS 640 system, but am encountering problems. Here are the steps I am taking:
1. In SE80, Create a new Package
2. Right-click the package and choose Create > Enterprise Service / Web Service > Proxy Object
3. Choose the first radio button "URL / HTTP Destination"
4. Enter the url of the WSDL of my .Net service
5. Type in the name of my package, and a prefix that begins with Z to put it in the customer namespace
---> At this point, SAP tries to generate the proxy but gives the following error:
"<b>Cannot generate proxy (object schema missing in WSDL, see long text)</b>"
When I click the help button for more information, I see that there is a reference in the WSDL to a namespace which is not defined in the WSDL. This namespace is included by default in .Net - http://www.w3.org/2001/XMLSchema. I do not know whether I should try to remove it or if there is a setting in SE80 which would cause SAP ignore the namespace reference. Does anyone have experience with this?
I have pasted the help information below.
<b><u>Background</u></b>
During proxy generation, an interface description in WSDL format is fetched from the Integration Builder or another source and interpreted. This WSDL document must describe the whole interface correctly.
==> Display WSDL Document
<b><u>Diagnosis</u></b>
In the WSDL document, the object
"schema"
from the namespace
"http://mycompany.com"
links to the object
"schema"
from the namespace
"http://www.w3.org/2001/XMLSchema"
However, this last object does not exist in the WSDL document.
<b><u>System response</u></b>
ABAP proxy generation expects that all directly and indirectly referenced objects are in the WSDL document. Therefore, no proxy can be generated for this WSDL and the system displays an error message.
<b><u>Procedure</u></b>
This situation can have different causes:
Object "schema" not been defined
Object "schema" saved in the wrong namespace
In the reference to object "schema", the wrong name was specified
In the reference to object "schema", the wrong namespace "http://www.w3.org/2001/XMLSchema" was specified
Internal error in the service that constructs the WSDL document
Internal error in ABAP proxy generationI have several Proxy Objects generated against .Net Web Services. I just checked the WSDL for one of them and it has the www.w3.org reference in it:
wsdl:definitions
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://kww.webservices.kimball.com"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
targetNamespace="http://kww.webservices.kimball.com"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
This is working fine in my WebAS 640 SP12 system. We didn't do any manipulation to the WSDL (it straight linked off the ASMX page that generates for the WebService), nor did we do any particular settings inside SAP.
In your WSDL do you have a schema node in yoru wsdl:types area. This is what mine looks like:
<wsdl:types>
+ <s:schema elementFormDefault="qualified" targetNamespace="http://kww.webservices.kimball.com">
- <s:element name="Req_By_Userid">
</s:schema>
</wsdl:types>
Perhaps these snipets from my WSDL, that is working just fine from ABAP, will help out. -
MODX_FUNCTION_ACTIVE_CHECK always called before SMOD / CMOD exit?
Hello,
am I right to assume that the function module MODX_FUNCTION_ACTIVE_CHECK is always called before a SMOD / CMOD customer exit function module is called?
I have already searched SDN and SAP Notes and SAP Help, but I could not find a clear statement.
Kind regards
Martin
Edited by: Martin Schlegel on Feb 4, 2008 4:28 PMHello Mike, thank you for your fast answer.
Like you, I have the impression that this function should be called alle the time before an SMOD/CMOD enhancement EXIT_... Function is called.
But I would like to be 100% sure.
Kind regards
Martin -
ListSelectionListener is always called two times...
Hello,
Icreated a JTable and added a ListSelectionListener to this table. I want an action being performed each time the selection within the table changes. If I change the selection via mouse this works quite fine, but if I do so with the mouse the method in the Listener is alwas called two times...why ?
Here's a little bit of source-code, perhaps you'll get what I mean:
ListSelectionModel lsm = (ListSelectionModel)e.getSource();
if (lsm.isSelectionEmpty()) {}
else { // always called 2 times...
int selectedRow = lsm.getMinSelectionIndex();
System.out.println("Test");
Kunde temp = (Kunde)ShowKunde.kunden.elementAt(selectedRow);
System.out.println(temp.getName());
try {
kontoTemp = new KontoTemp(temp);
kontoTemp.setBuchungenTemp();
tableTemp.setModel(kontoTemp);
kontoBestand = new KontoBestand(temp);
kontoBestand.setBuchungenBestand();
tableBestand.setModel(kontoBestand);
frame.repaint();
} // try
catch (Exception ex) {
System.err.println(ex.getMessage());
} // catch
}});Hi
you could check is the value is adjusting:
if (e.getValueIsAdjusting()) {
return;
// your code hereviel erfolg
Phil -
this web side "starwebsearch" always change default home page and go to "apype search" ,what i do?
Do a malware check with some malware scan programs. You need to scan with all programs because each program detects different malware. Make sure that you update each program to get the latest version of the database before doing a scan.
* http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
* http://www.superantispyware.com/ - SuperAntispyware
* http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
* http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
* http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and Searches are redirected to another site -
please help me. whenever i dial hash i.e *1111# insted of requesting its always calling.....
Yes, I did.
It restored everything [incl. photos] but phone contacts.
And, after restoration the iOS was still 7.
I tried twice but still no phone contacts.
Please help me to get my phone contacts back! -
Multiple JAAS LoginModules: WL6.1 always calls default ServerLoginModule?
Hello All,
I'm trying to implement a set of custom LoginModule(s) to authenticate
a user (an "application user", not a Weblogic admin). From a JSP login
page, the app calls a Servlet that calls LoginContext("myLogin",
myCallbackHandler).login(). I have also create a custom
Callback/CallbackHandler (since the parameters are passed as HTTP
parameters) and added the required parameters in lib\server.policy:
myLogin {
com.andrej.myLoginModule required;
The problem is that it looks like WL always calls the default
LoginModule (ServerPolicy from the lib\server.policy file) even if it
doesn't correspond to "myLogin". Of course, my app crashes
miserably... :)
Two questions:
- is the above normal? Am I missing something of JAAS?
- am I following the right path i.e. can I use a custom LoginModule to
authenticate an application user via an entity EJB so that the
successive calls are then associated to the proper Subject/Principal?
Or can I only use a LoginModule to authenticate a Weblogic server
user?
Thank you in advance!
Andrej
PS: if possible, I'd like to avoid using Weblogic-specific classes. :)You must specify two properties:
weblogic.security.jaas.Configuration - your implementation of Configuration
class
weblogic.security.jaas.Policy - jaas config file location
For example:
System.setProperty("weblogic.security.jaas.Configuration",
"examples.security.jaas.SampleConfig");
System.setProperty("weblogic.security.jaas.Policy",
"C:/Sample.policy");
"Andrej" <[email protected]> wrote in message
news:[email protected]..
Hello All,
I'm trying to implement a set of custom LoginModule(s) to authenticate
a user (an "application user", not a Weblogic admin). From a JSP login
page, the app calls a Servlet that calls LoginContext("myLogin",
myCallbackHandler).login(). I have also create a custom
Callback/CallbackHandler (since the parameters are passed as HTTP
parameters) and added the required parameters in lib\server.policy:
myLogin {
com.andrej.myLoginModule required;
The problem is that it looks like WL always calls the default
LoginModule (ServerPolicy from the lib\server.policy file) even if it
doesn't correspond to "myLogin". Of course, my app crashes
miserably... :)
Two questions:
- is the above normal? Am I missing something of JAAS?
- am I following the right path i.e. can I use a custom LoginModule to
authenticate an application user via an entity EJB so that the
successive calls are then associated to the proper Subject/Principal?
Or can I only use a LoginModule to authenticate a Weblogic server
user?
Thank you in advance!
Andrej
PS: if possible, I'd like to avoid using Weblogic-specific classes. :) -
Sometimes a web page appears with only text and no picures. It is not always the same site and does not always happen. If I switch to Explorer for the same web site it always works
Thank you, it worked with just F5. I don't know whether CTRL + F5 would work because the problem has not come back yet!
-
Call thirty party java web service but always return null
hi
I call a java web service in my application visual studio 2008 c#, but always return NULL.
I used Tool Fiddler to monitor the traffic between my client and the web service server, it showed the return is not Null.
Here is my code, please see if anything I do wrong.
namespace CanOfficer_THQ_vs_IHQ.TestWebReferenceAppointment {
using System.Diagnostics;
using System.Web.Services;
using System.ComponentModel;
using System.Web.Services.Protocols;
using System;
using System.Xml.Serialization;
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="AppointmentServiceSoapBinding", Namespace="http://service.ips.salvationarmy.org/")]
public partial class AppointmentService : Microsoft.Web.Services3.WebServicesClientProtocol {
private System.Threading.SendOrPostCallback deleteAppOperationCompleted;
private System.Threading.SendOrPostCallback importAppOperationCompleted;
private System.Threading.SendOrPostCallback editAppOperationCompleted;
private bool useDefaultCredentialsSetExplicitly;
/// <remarks/>
public AppointmentService() {
this.Url = global::CanOfficer_THQ_vs_IHQ.Properties.Settings.Default.CanOfficer_THQ_vs_IHQ_TestWebReferenceAppointment_AppointmentService;
if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
this.UseDefaultCredentials = true;
this.useDefaultCredentialsSetExplicitly = false;
else {
this.useDefaultCredentialsSetExplicitly = true;
public new string Url {
get {
return base.Url;
set {
if ((((this.IsLocalFileSystemWebService(base.Url) == true)
&& (this.useDefaultCredentialsSetExplicitly == false))
&& (this.IsLocalFileSystemWebService(value) == false))) {
base.UseDefaultCredentials = false;
base.Url = value;
public new bool UseDefaultCredentials {
get {
return base.UseDefaultCredentials;
set {
base.UseDefaultCredentials = value;
this.useDefaultCredentialsSetExplicitly = true;
/// <remarks/>
public event deleteAppCompletedEventHandler deleteAppCompleted;
/// <remarks/>
public event importAppCompletedEventHandler importAppCompleted;
/// <remarks/>
public event editAppCompletedEventHandler editAppCompleted;
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute(
RequestNamespace="http://service.ips.salvationarmy.org/",
ResponseNamespace="http://service.ips.salvationarmy.org/",
Use=System.Web.Services.Description.SoapBindingUse.Encoded,
ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string deleteApp([System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] int id) {
object[] results = this.Invoke("deleteApp", new object[] {
id});
return ((string)(results[0]));
/// <remarks/>
public void deleteAppAsync(int id) {
this.deleteAppAsync(id, null);
/// <remarks/>
public void deleteAppAsync(int id, object userState) {
if ((this.deleteAppOperationCompleted == null)) {
this.deleteAppOperationCompleted = new System.Threading.SendOrPostCallback(this.OndeleteAppOperationCompleted);
this.InvokeAsync("deleteApp", new object[] {
id}, this.deleteAppOperationCompleted, userState);
private void OndeleteAppOperationCompleted(object arg) {
if ((this.deleteAppCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.deleteAppCompleted(this, new deleteAppCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute(
RequestNamespace="http://service.ips.salvationarmy.org/",
ResponseNamespace="http://service.ips.salvationarmy.org/",
Use=System.Web.Services.Description.SoapBindingUse.Encoded,
ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string importApp(
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] int person,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string name,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string territory,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string location,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] bool primary,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] Nullable<System.DateTime> start,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] Nullable<System.DateTime> end,
[System.Xml.Serialization.XmlElementAttribute("categories", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string[] categories) {
object[] results = this.Invoke("importApp", new object[] {
person,
name,
territory,
location,
primary,
start,
end,
categories});
return ((string)(results[0]));
/// <remarks/>
public void importAppAsync(int person, string name, string territory, string location, bool primary, Nullable<System.DateTime> start, Nullable<System.DateTime> end, string[] categories) {
this.importAppAsync(person, name, territory, location, primary, start, end, categories, null);
/// <remarks/>
public void importAppAsync(int person, string name, string territory, string location, bool primary, Nullable<System.DateTime> start, Nullable<System.DateTime> end, string[] categories, object userState) {
if ((this.importAppOperationCompleted == null)) {
this.importAppOperationCompleted = new System.Threading.SendOrPostCallback(this.OnimportAppOperationCompleted);
this.InvokeAsync("importApp", new object[] {
person,
name,
territory,
location,
primary,
start,
end,
categories}, this.importAppOperationCompleted, userState);
private void OnimportAppOperationCompleted(object arg) {
if ((this.importAppCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.importAppCompleted(this, new importAppCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute(
RequestNamespace="http://service.ips.salvationarmy.org/",
ResponseNamespace="http://service.ips.salvationarmy.org/",
Use=System.Web.Services.Description.SoapBindingUse.Encoded,
ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string editApp(
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] int id,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string name,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string territory,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string location,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] bool primary,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] Nullable<System.DateTime> start,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] Nullable<System.DateTime> end,
[System.Xml.Serialization.XmlElementAttribute("categories", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string[] categories) {
object[] results = this.Invoke("editApp", new object[] {
id,
name,
territory,
location,
primary,
start,
end,
categories});
return ((string)(results[0]));
/// <remarks/>
public void editAppAsync(int id, string name, string territory, string location, bool primary, Nullable<System.DateTime> start, Nullable<System.DateTime> end, string[] categories) {
this.editAppAsync(id, name, territory, location, primary, start, end, categories, null);
/// <remarks/>
public void editAppAsync(int id, string name, string territory, string location, bool primary, Nullable<System.DateTime> start, Nullable<System.DateTime> end, string[] categories, object userState) {
if ((this.editAppOperationCompleted == null)) {
this.editAppOperationCompleted = new System.Threading.SendOrPostCallback(this.OneditAppOperationCompleted);
this.InvokeAsync("editApp", new object[] {
id,
name,
territory,
location,
primary,
start,
end,
categories}, this.editAppOperationCompleted, userState);
private void OneditAppOperationCompleted(object arg) {
if ((this.editAppCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.editAppCompleted(this, new editAppCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
/// <remarks/>
public new void CancelAsync(object userState) {
base.CancelAsync(userState);
private bool IsLocalFileSystemWebService(string url) {
if (((url == null)
|| (url == string.Empty))) {
return false;
System.Uri wsUri = new System.Uri(url);
if (((wsUri.Port >= 1024)
&& (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
return true;
return false;
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
public delegate void deleteAppCompletedEventHandler(object sender, deleteAppCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class deleteAppCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal deleteAppCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
public delegate void importAppCompletedEventHandler(object sender, importAppCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class importAppCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal importAppCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
public delegate void editAppCompletedEventHandler(object sender, editAppCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class editAppCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal editAppCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));Hi;
I used Fiddler to monitor the process, and it showed the request sent thru web service worked and returned a value, but in my .Net application the return captured as NULL. Could you please look into the code above and the result from Filddler and see if
you can help.
thank you.
REQUEST:
POST https://159.253.140.178/services/AppointmentService HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4252)
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Host: 159.253.140.178
Content-Length: 1589
Expect: 100-continue
Connection: Keep-Alive
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://service.ips.salvationarmy.org/" xmlns:types="http://service.ips.salvationarmy.org/encodedTypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
<soap:Header>
<wsse:Security mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>
[email protected]
</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">
tpi4IPSws!
</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<tns:importApp>
<person xsi:type="xsd:int">
169275
</person>
<name xsi:type="xsd:string">
Corps Officer (Cahul-Russia) Test12
</name>
<territory xsi:type="xsd:string">
CAN
</territory>
<location xsi:type="xsd:string">
TEST LOCATION 12
</location>
<primary xsi:type="xsd:boolean">
true
</primary>
<start xsi:type="xsd:dateTime">
2013-05-30T00:00:00
</start>
<end xsi:type="xsd:dateTime">
2014-06-04T00:00:00
</end>
<categories href="#id1" />
</tns:importApp>
<soapenc:Array id="id1" soapenc:arrayType="xsd:string[1]">
<Item>
vpsCat1
</Item>
</soapenc:Array>
</soap:Body>
</soap:Envelope>
RESPONSE:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=UTF-8
Content-Length: 232
Date: Fri, 05 Sep 2014 19:45:22 GMT
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:importAppResponse xmlns:ns2="http://service.ips.salvationarmy.org/">
<return>
OK_572463
</return>
</ns2:importAppResponse>
</soap:Body>
</soap:Envelope> -
Web content overlay - always "on top"?
Hi
In my Indesign DPS doc, I have a top later with content and a second bottom layer with some html 5 animation showing within a web content overlay box.
Everything previews well, except the overlay content always seems to be "on top". guess this makes semse since it is really just a "web window" but I thought I would ask since it will impact my designs moving forward...
Thank you-
SOverlays always rise to the top, which is why they're called overlays. If you want to cover part of an overlay, you need to use another overlay. A common approach is to create a 2-state MSO with two identical images and auto play set to 1.
-
Stop() method always called on browser close?
In my web application I pop up an applet and I need to do some processing whenever the the user closes the applet window. I learnt that the Applet class' stop() method is called whenver the page containing the applet is either closed/refreshed/redirected.
My question is whether I can rely that the stop() method will always be called in such aforementioned situations? Also it this kind of functionality browser dependent (i.e. are there some commonly used browsers that behave a bit differently?)It SHOULD work, but I wouldn't bet anything important on it working. If the closing code is critical you've got to test at least IE, Netscape/Mozilla, Firefox and Opera and you've got to test lots of versions of each.
I'd try hard to design around this issue. -
ITune updates on my XP always call for AOL?
When I update my iTunes, the software for Aol always comes up. I do not have AOl and my computer settings on my computer say never dial up. Even when my web browser is open already, iTunes calls for AOL. It is maddening. Is there a setting in iTunes that I need to switch off?
When I update my iTunes, the software for Aol always
comes up. I do not have AOl...
If you do not have AOL, then how does the AOL software come up?
Why not remove the AOL software entirely? Just dump it. It's bad for you. It's bad for your computer. It's just bad.
Maybe you are looking for
-
Problem with direction in a page(??????)
Hi every body, I have a problem with direction in some page when i change the language to Arabic(right to left language). in some page like welcome page its completely true ,but in some page that i buile with my self (and add some portlet to it like
-
Error message on my Mac Pro Quad Core Dual
Hello..I'm hoping someone out there can help or advise me. I turned on my mac this morning to find it's normal loading screen of grey with the darker grey logo in centre..all normal at this stage. This was followed by a wipe from top to bottom making
-
How to convert an excel file where customers have partial access for selecting items.
Please Advise, I have created an excel file with columns that calculates price and quantity. I need to know how my customers can access the file without seeing all my calculations, etc. and just select the number of items. I need to keep my excel for
-
Songs in itunes music folder not showing
Hello all: Songs in user/music/itunes music folder are not showing up in itunes 7.6.1 are not showing in the itunes application. Recently upgraded from previous version. TIA for any advice.
-
Any way to create Execute Queues or set Load Order using ANT?
Hello All, Does anyone know whether wlconfig or some other Ant tasks can be used in order to automate the creation of specific Execute Queues? We'd like to script and package this so as to avoid having the user configure queues through the admin cons